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!

Defining a Property

A property is defined using the TypeBuilder.DefineProperty method. DefineProperty returns a PropertyBuilder object. The DefineProperty method requires the caller to specify the property name, the signature of the property, the property attributes (using the enum PropertyAttributes), the backing field.

The PropertyBuilder class allows the caller to specify the Getter method, the Setter method and any other methods.

The default value of the property can be set using PropertyBuilder.SetConstant.

Known Issues