Returns a state of the specified named command.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
public AgEUiPluginCommandState QueryState( string CommandName ); |
| [Managed C++] |
|---|
public: AgEUiPluginCommandState QueryState( String __gc ^ CommandName ); |
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
public AgEUiPluginCommandState queryState( String CommandName ); |
- CommandName
- A named command which status is requested by the hosting environment.
A bitmask indicating the status of the requested named command.
When the hosting environment needs to find out the state of a custom toolbar button or a context menu item added by a User Interface plugin, it calls the QueryState method. The QueryState method returns a bitmask indicating whether the command associated with a button or a menu is supported, enabled or grayed.





