Export (0) Print
Expand All

10.7 Invocation Statements

Visual Studio .NET 2003

An invocation statement invokes a method preceded by the optional keyword Call. The invocation statement is processed in the same way as the function invocation expression. The invocation expression must be classified as a value or void. Any value resulting from the evaluation of the invocation expression is discarded.

InvocationStatement ::= [ Call ] InvocationExpression StatementTerminator

See Also

10.1 Blocks | 10.1.1 Local Variables and Parameters | 10.2 Local Declaration Statements | 10.3 With Statement | 10.4 SyncLock Statement | 10.5 Event Statements | 10.6 Assignment Statements | 10.8 Conditional Statements | 10.9 Loop Statements | 10.10 Exception-Handling Statements | 10.11 Branch Statements | 10.12 Array-Handling Statements | Call Statement (Visual Basic Language Reference)

Show:
© 2014 Microsoft