Type Property (KeyBinding Object)

Object: KeyBinding Object

Access: Read-Only

Returns the type of the keybinding object.

Usage

KeyBinding.Type

Arguments

None.

Return Values

A long that represents the type (BindType) of the keybinding object.

Examples

' With BindingTables object defined 
' Assign shortcut keys Alt+F1 to Help->Contents->Automation 
docBindingTables.AddKeyBinding "Alt+F1","Help->Contents->Automation", 0,1 
' With KeyBindings object defined 
' Type property will return 0 which is BindMenu constant 
MsgBox docKeyBindings.Item(1).Type