KeysBoundTo KeysBoundTo KeysBoundTo Interface

Definition

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

public interface class KeysBoundTo : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020997-0000-0000-C000-000000000046")]
public interface KeysBoundTo : System.Collections.IEnumerable
Public Interface KeysBoundTo
Implements IEnumerable
Attributes
Implements

Remarks

Use the KeysBoundTo[WdKeyCategory, String, Object] property to return the KeysBoundTo collection.

Properties

Application Application Application

Returns a Application object that represents the Microsoft Word application.

Command Command Command

Returns the command assigned to the specified key combination.

CommandParameter CommandParameter CommandParameter

Returns the command parameter assigned to the specified shortcut key.

Context Context Context

Returns an object that represents the storage location of the specified key binding. This property can return a Document, Template, or Application object.

Count Count Count

Returns the number of items in the specified collection.

Creator Creator Creator

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

Item[Int32] Item[Int32] Item[Int32]

Returns an individual object in a collection.

KeyCategory KeyCategory KeyCategory

Returns the type of item assigned to the specified key binding.

Parent Parent Parent

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

Methods

GetEnumerator() GetEnumerator() GetEnumerator()
Key(Int32, Object) Key(Int32, Object) Key(Int32, Object)

Returns a KeyBinding object that represents the specified custom key combination. If the key combination doesn't exist, this method returns Nothing.

Applies to