編輯

共用方式為


_Application.KeysBoundTo[WdKeyCategory, String, Object] Property

Definition

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

public:
 property Microsoft::Office::Interop::Word::KeysBoundTo ^ KeysBoundTo[Microsoft::Office::Interop::Word::WdKeyCategory, System::String ^, System::Object ^ %] { Microsoft::Office::Interop::Word::KeysBoundTo ^ get(Microsoft::Office::Interop::Word::WdKeyCategory KeyCategory, System::String ^ Command, System::Object ^ % CommandParameter); };
public Microsoft.Office.Interop.Word.KeysBoundTo KeysBoundTo[Microsoft.Office.Interop.Word.WdKeyCategory KeyCategory, string Command, ref object CommandParameter] { get; }
member this.KeysBoundTo(Microsoft.Office.Interop.Word.WdKeyCategory * string * obj) : Microsoft.Office.Interop.Word.KeysBoundTo
Public ReadOnly Property KeysBoundTo(KeyCategory As WdKeyCategory, Command As String, Optional ByRef CommandParameter As Object) As KeysBoundTo

Parameters

KeyCategory
WdKeyCategory

Required WdKeyCategory. The category of the key combination.

Command
String

Required String. The name of the command.

CommandParameter
Object

Optional Object. Additional text, if any, required for the command specified by Command. For more information, see the Add(WdKeyCategory, String, Int32, Object, Object) method for the KeyBindings object.

Property Value

Applies to