Part II: Reference

   

This section consists only of one very long chapter (Chapter 10), which contains an alphabetic reference to VB.NET language elements. The chapter documents the following:

  • Statements, such as AddHandler or Structure...End Structure.

  • Procedures, such as AppActivate or Rename . These were statements in previous versions of Visual Basic, but now they are methods of one class or another within the Microsoft.VisualBasic namespace. The official documentation describes them as functions, but since they don't return a value, we've chosen to describe them as procedures.

  • Functions, such as Format or IsReference .

  • Compiler directives, such as #Const or #If .

  • Visual Basic classes and their members . The two intrinsic objects available in Visual Basic are the Collection class and the Err object.

  • Selected classes in the .NET Framework Class Library, along with their members. Documentation of the Framework Class Library, however, is highly selective; we've chosen classes and their members either because they replace language elements that were present in VB 6, or because they provide much needed functionality that supplements existing language elements.

  • Attributes, such as <AttributeUsage> and <VBFixedString> . Of the approximately 100 attributes available in the .NET Framework, we've documented only those of greatest interest to the VB programmer.

When you're looking for a particular language element but don't quite remember what it's called, an alphabetic reference is of little value. For this reason, we've included Appendix B.

Finally, two language elements are covered in the appendixes rather than in Part II. With a few exceptions (notably, Like and Is ) that are documented in Part II, Visual Basic operators are covered in Appendix C. And Visual Basic constants and enumerations are listed in Appendix D.

   


VB.Net Language in a Nutshell
VB.NET Language in a Nutshell
ISBN: B00006L54Q
EAN: N/A
Year: 2002
Pages: 503

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net