A declared element is a programming element that is defined in a declaration statement. Declared elements include variables, constants, enumerations, structures, properties, methods, procedures, procedure arguments, function returns, events, delegates, interfaces, and classes. Declaration statements include Dim, Const, Public, Protected, Friend, Protected Friend, Private, Static, Sub, Function, Property, Structure, Enumeration, Class, and Interface.
In This Section
- Declared Element Names
- Describes how to name elements and use alphabetic case.
- Declared Element Characteristics
- Covers characteristics, such as scope, possessed by declared elements.
- Declared Element Reference
- Describes how the compiler matches a reference to a declaration and how to qualify a name.
- Object-Oriented Programming in Visual Basic
- Covers object-oriented programming basics.
- Program Structure and Code Conventions
- Presents guidelines for making your code easier to read, understand, and maintain.
- Declaration Statements
- Describes statements that name and define procedures, variables, arrays, and constants.