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!

8.6.2 Setter declarations

A setter is declared using a property set declaration. A property set declaration consists of the keyword Set followed by a block. Given a property named P, a setter declaration implicitly declares a method with the name set_P with the same modifiers and parameter list as the property. If the type contains a declaration with that name, an error results.

A local variable named Value is implicitly declared within the block of a property set declaration. This variable represents the value being assigned to the property.

PropertySetDeclaration ::=
 Set [ Attributes ] LineTerminator
 [ Block ]
 End Set