This documentation is archived and is not being maintained.

KeyBinding Interface

Represents a custom key assignment in the current context.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

<GuidAttribute("00020998-0000-0000-C000-000000000046")> _
Public Interface KeyBinding
Dim instance As KeyBinding

The KeyBinding object is a member of the KeyBindings collection. Custom key assignments are made in the Customize Keyboard dialog box.

Use KeyBindings(index), where index is the index number, to return a single KeyBinding object.

You can also use the FindKey property and the Key method to return a KeyBinding object.