Share via


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)

Syntax

'Declaration
<GuidAttribute("00020998-0000-0000-C000-000000000046")> _
Public Interface KeyBinding
'Usage
Dim instance As KeyBinding
[GuidAttribute("00020998-0000-0000-C000-000000000046")]
public interface KeyBinding

Remarks

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.

See Also

Reference

KeyBinding Members

Microsoft.Office.Interop.Word Namespace