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!

Custom Attribute Sample

The purpose of this sample is to introduce more advanced developers to NGWS custom attributes. This sample demonstrates how to create a custom attribute and associate the attribute with a type and member. Additionally the sample demonstrates how to use reflection to determine if a type/member has a custom attribute associated with it.

Location of the Sample

This sample list located in the CustAttr directory of the NGWS SDK sample directories.

For Example:

C:\Program Files\NGWSSDK\Samples\CustAttr

Building the Sample

In order to properly build and run this sample, the following steps need to be performed prior to building and running the sample.

Running the Sample

In order to run this sample, follow the instructions listed below.