Export (0) Print
Expand All

11.4.5 AddressOf Expressions

Visual Studio .NET 2003

An AddressOf expression is used to produce a method pointer. The expression consists of the AddressOf keyword and an expression that must be classified as a method group. The method group cannot be late-bound and it cannot refer to constructors.

The result is classified as a method pointer and the associated instance expression (if any) is the same as the associated instance expression of the method group.

AddressOfExpression ::= AddressOf Expression

See Also

6.2.3 Option Compare Statement | 11.8 Invocation Expressions | AddressOf Operator (Visual Basic Language Reference) | Delegates and the AddressOf Operator (Visual Basic Language Concepts)

© 2014 Microsoft