Solid Edge Framework Type Library
Add Method
Specifies the command identifier to which the key sequence being added maps.
Specifies the key sequence being added as an accelerator.
Description
Adds an occurrence of the referenced object.
Syntax
Visual Basic
Public Function Add( _
   ByVal CommandID As Long, _
   ByVal KeyCode As Long _
) As KeyBinding
Parameters
CommandID
Specifies the command identifier to which the key sequence being added maps.
KeyCode
Specifies the key sequence being added as an accelerator.
Remarks
Call the Add method on the Accelerator object to add a new key binding to the user interface. The method returns E_INVALIDARG if the accelerator already contains a key binding defined by the key code argument. To rebind an existing key sequence to a new command identifier, first call the Remove method of the Accelerator object.
See Also

Accelerator Collection  | Accelerator Members

Send comments on this topic.