Partager via


KeyBindings Members

Include Protected Members
Include Inherited Members

A collection of KeyBinding objects that represent the custom key assignments in the current context. Custom key assignments are made in the Customize Keyboard dialog box.

The KeyBindings type exposes the following members.

Methods

  Name Description
Public method Add Returns a KeyBinding object that represents a new shortcut key for a macro, built-in command, font, AutoText entry, style, or symbol.
Public method ClearAll Clears all the customized key assignments and restores the original Microsoft Word shortcut key assignments.
Public method GetEnumerator (Inherited from IEnumerable.)
Public method Key Returns a KeyBinding object that represents the specified custom key combination. If the key combination doesn't exist, this method returns Nothing.

Top

Properties

  Name Description
Public property Application Returns a Application object that represents the Microsoft Word application.
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 Count Returns the number of items in the specified collection.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property Item Returns an individual object in a collection.
Public property Parent Returns an object that represents the parent object of the specified object.

Top

See Also

Reference

KeyBindings Interface

Microsoft.Office.Interop.Word Namespace