Enabled

Property of ICommandHandler

Enabled

Read-Write Property of type VARIANT_BOOL

JavaScript

var bEnabled = CommandHandler.Enabled;
CommandHandler.Enabled = bEnabled;

Visual Basic Script

bEnabled = CommandHandler.Enabled
CommandHandler.Enabled = bEnabled

C++

VARIANT_BOOL bEnabled;
HRESULT hr = CommandHandler.get_Enabled(&bEnabled);
hr = CommandHandler.put_Enabled(bEnabled);