This document contains the
release information for the NGWS Custom Attribute sample. You will find the following sections below:
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.
This sample list located in the CustAttr
directory of the NGWS SDK sample directories.
For
Example:
C:\Program Files\NGWSSDK\Samples\CustAttr
In order to properly build and run this sample, the
following steps need to be performed prior to building and running the sample…
·
Type NMAKE All from the command line.
For Example:
C:\Program Files\NGWSSDK\Samples\CustAttr\:>NMAKE All
In order to run this sample, follow the
instructions listed below.
For Example:
C:\Program Files\NGWSSDK\Samples\CustAttr\:>CustAttr