Visual Basic Blog

A group blog from members of the VB team

What didn't get into VB10: a wish-list for future versions of VB

Visual Studio 2010 is almost out the door. Now is a good time to look back at what we didn't get into the language in this release, but would have wanted to, and so will consider for future releases.Over the coming weeks, each day, I'll blog on blogs.msdn.com/lucian about the ideas on our wish-list, along with our evaluation of ...

The many cases of ByRef

One of the overlooked or simply misunderstood features of the VB language is calling a function which has a ByRef parameter.  Most languages support only a single method of passing parameters by reference [1], that is the scenarios directly supported by the CLR.  The CLR has a lot of restrictions on the type of values it supports for...

Fun With Dynamic Objects (Doug Rothaus)

A while back, I remember being asked if there was a simple way to expose a source XML document as an object with properties. That is, if the root XML element had a child element <Name>Doug</Name>, then the object would have a Name property that was a string and returned “Doug”. The catch was that the XML document did ...