ICommandHandler<T>.GetCommandState(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to determine the state of the command.
public:
Microsoft::VisualStudio::Commanding::CommandState GetCommandState(T args);
public Microsoft.VisualStudio.Commanding.CommandState GetCommandState (T args);
abstract member GetCommandState : 'T -> Microsoft.VisualStudio.Commanding.CommandState
Public Function GetCommandState (args As T) As CommandState
Parameters
- args
- T
The CommandArgs arguments for the command.
Returns
A CommandState instance that contains information on the availability of the command.