KeyBinding Properties

Include Protected Members
Include Inherited Members

The KeyBinding type exposes the following members.

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
Public property Command Returns the command assigned to the specified key combination.
Public property CommandParameter Returns the command parameter assigned to the specified shortcut key.
Public property Context Returns an object that represents the storage location of the specified key binding. This property can return a Document, Template, or Application object.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property KeyCategory Returns the type of item assigned to the specified key binding.
Public property KeyCode Returns a unique number for the first key in the specified key binding.
Public property KeyCode2 Returns a unique number for the second key in the specified key binding.
Public property KeyString Returns the key combination string for the specified keys (for example, CTRL+SHIFT+A).
Public property Parent Returns an object that represents the parent object of the specified object.
Public property Protected True if you cannot change the specified key binding in the Customize Keyboard dialog box (from the Tools menu, click Customize, and then click the Keyboard button).

Top

See Also

Reference

KeyBinding Interface

Microsoft.Office.Interop.Word Namespace