_Application.FindKey[Int32, Object] 属性

定义

返回一个 KeyBindings 对象,该对象表示指定的组合键。

public:
 property Microsoft::Office::Interop::Word::KeyBinding ^ FindKey[int, System::Object ^ %] { Microsoft::Office::Interop::Word::KeyBinding ^ get(int KeyCode, System::Object ^ % KeyCode2); };
public Microsoft.Office.Interop.Word.KeyBinding FindKey[int KeyCode, ref object KeyCode2] { get; }
member this.FindKey(int * obj) : Microsoft.Office.Interop.Word.KeyBinding
Public ReadOnly Property FindKey(KeyCode As Integer, Optional ByRef KeyCode2 As Object) As KeyBinding

参数

KeyCode
Int32

必需 整数。 使用其中一个 WdKey 常量指定的键。

KeyCode2
Object

可选 对象。 通过使用 WdKey 常量之一指定第二个键。

属性值

注解

可以使用 BuildKeyCode(WdKey, Object, Object, Object) 方法创建 KeyCodeKeyCode2 参数。

适用于