Summary
Chapter 12 should have made it clear that Visual Basic .NET is a significantly advanced version of its predecessor. There are analogies for many of the fundamental idioms between VB6 and Visual Basic .NET. Even attributes have analogies in VB6. If you ever opened a .frm or .cls file in VB6 in a text editor, you might have seen text like the following: Attribute VB_PredeclaredId = True. If you change this attribute manually to True in a .cls file, you end up with an autocreated class. Clearly this suggests that VB6 had precursors to .NET attributes. The difference is that Visual Basic .NET makes them intentionally accessible.
In addition to being accessible, attributes are greatly enhanced in .NET. Attributes provide users with a way to ...
Get Visual Basic® .NET Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.