_Application.FindKey[Int32, Object] Property

Definition

Returns a KeyBindings object that represents the specified key combination.

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

Parameters

KeyCode
Int32

Required Integer. A key you specify by using one of the WdKey constants.

KeyCode2
Object

Optional Object. A second key you specify by using one of the WdKey constants.

Property Value

Remarks

You can use the BuildKeyCode(WdKey, Object, Object, Object) method to create the KeyCode or KeyCode2 argument.

Applies to