NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

9.7.2 Delegate assignment

If an assignment statement includes the keyword AddressOf, then the expression on the right hand side of the assignment must be an invocation target and the variable must be typed as a delegate whose signature is compatible with the invocation target. A delegate assignment statement "D = E" is transformed into "D = New T(E)", where T is the delegate type of D.

DelegateAssignmentStatement ::=
 VariableExpression = AddressOf InvocationTargetExpression StatementTerminator