The properties of the GPStateMethodAttribute class are listed below. For a complete list of GPStateMethodAttribute class members, see the GPStateMethodAttribute Members topic.
|Action||The type of the element it modifies.|
|MethodName||The name of the method to invoke to request for the state.|
|Name||The text that will be put in the menu.|
|OnState||True if you want to show this action when the state is equal to State; otherwise false.|
|State||A string representing an on/off type state.|
|TypeId (inherited from Attribute)||When implemented in a derived class, gets a unique identifier for this Attribute.|