KeyBinding.KeyCode Property

Returns a unique number for the first key in the specified key binding.

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

Syntax

'Declaration
ReadOnly Property KeyCode As Integer
    Get
'Usage
Dim instance As KeyBinding
Dim value As Integer

value = instance.KeyCode
int KeyCode { get; }

Property Value

Type: System.Int32

Remarks

You create this number by using the BuildKeyCode method when you're adding key bindings by using the Add method of the KeyBindings object.

See Also

Reference

KeyBinding Interface

KeyBinding Members

Microsoft.Office.Interop.Word Namespace