Returns a state of the specified named
command.
| [Visual Basic .NET] |
|---|
Public Function QueryState( _
ByVal CommandName As String _
) As AgEUiPluginCommandState
|
| [C#] |
|---|
public AgEUiPluginCommandState QueryState(
|
| [Managed C++] |
|---|
public: AgEUiPluginCommandState QueryState(
|
| [Java] |
|---|
public AgEUiPluginCommandState queryState(
|
| [Unmanaged C++] |
|---|
public: HRESULT QueryState(
|
- 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.
| Set a status of a named command | Copy Code
|
|
|---|---|---|
|
||