IsChecked
This method determines the checked status of a menu command. IsChecked returns TRUE when the specified command item is selected or toggled on.
JavaScript |
|
IsChecked( CommandID, parameters) |
C# |
|
bool IsChecked( int CommandID, object parameters) |
C++ |
|
HRESULT IsChecked( long CommandID, VARIANT parameters, VARIANT_BOOL * bRes ) |
Parameters
CommandID
The ID of the menu command whose checked status is to be returned. IsChecked applies to the commands in the list of menu commands that are toggled on/off.
parameter
The command parameters. See the command parameters in the list of menu commands.
Return Value
bRes
A Boolean that indicates whether the command is selected.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.