_Application.KeysBoundTo Property

Returns a KeysBoundTo object that represents all the key combinations assigned to the specified item.

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

Syntax

'Declaration
ReadOnly Property KeysBoundTo ( _
    KeyCategory As WdKeyCategory, _
    Command As String, _
    ByRef CommandParameter As Object _
) As KeysBoundTo
    Get
'Usage
Dim instance As _Application
Dim KeyCategory As WdKeyCategory
Dim Command As String
Dim CommandParameter As Object
Dim value As KeysBoundTo

value = instance.KeysBoundTo(KeyCategory, _
    Command, CommandParameter)
KeysBoundTo this[
    WdKeyCategory KeyCategory,
    string Command,
    ref Object CommandParameter
] { get; }

Parameters

  • Command
    Type: System.String
    Required String. The name of the command.
  • CommandParameter
    Type: System.Object%
    Optional Object. Additional text, if any, required for the command specified by Command. For more information, see the Add method for the KeyBindings object.

Property Value

Type: Microsoft.Office.Interop.Word.KeysBoundTo

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace