Partager via


KeyBindings Members (Word)

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.

Methods

Name

Description

Add

Returns a KeyBinding object that represents a new shortcut key for a macro, built-in command, font, AutoText entry, style, or symbol.

ClearAll

Clears all the customized key assignments and restores the original Microsoft Word shortcut key assignments.

Item

Returns an individual KeyBinding object in a collection.

Key

Returns a KeyBinding object that represents the specified custom key combination.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Context

Returns an Object that represents the storage location of the specified key binding. Read-only.

Count

Returns a Long that represents the number of key bindings in the collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Parent

Returns an Object that represents the parent object of the specified KeyBindings object.