Wednesday, September 28, 2005
« More on the Windows Forms data binding i... | Main | Windows Forms data binding issue: conclu... »

Here’s a helpful little feature of VB 2005. The following is valid code:

 

    <NotUndoable()> _

    <NonSerialized()> _

    Private mParent As Core.IEditableCollection

 

Notice that both attributes are independent – no need to use the harder syntax from 2003:

 

    <NotUndoable(), NonSerialized()> _

    Private mParent As Core.IEditableCollection

 

Very nice little nugget!


Thursday, September 29, 2005 1:52:04 AM (Central Standard Time, UTC-06:00)
I am not much of a VB.NET guy, but is the first syntax is not valid in v1.x? Wow...
Comments are closed.