Share via


KeysBoundTo Members (Word)

A collection of KeyBinding objects assigned to a command, style, macro, or other item in the current context.

Methods

Name

Description

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.

Command

Returns a String that represents the command assigned to the specified key combination. Read-only.

CommandParameter

Returns the command parameter assigned to the specified shortcut key. Read-only String.

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 keys 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.

KeyCategory

Returns the type of item assigned to the specified key binding. Read-only WdKeyCategory.

Parent

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