_Global.BuildKeyCode Method

Returns a unique number for the specified key combination.

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

Syntax

'Declaration
Function BuildKeyCode ( _
    Arg1 As WdKey, _
    ByRef Arg2 As Object, _
    ByRef Arg3 As Object, _
    ByRef Arg4 As Object _
) As Integer
'Usage
Dim instance As _Global
Dim Arg1 As WdKey
Dim Arg2 As Object
Dim Arg3 As Object
Dim Arg4 As Object
Dim returnValue As Integer

returnValue = instance.BuildKeyCode(Arg1, _
    Arg2, Arg3, Arg4)
int BuildKeyCode(
    WdKey Arg1,
    ref Object Arg2,
    ref Object Arg3,
    ref Object Arg4
)

Parameters

  • Arg2
    Type: System.Object%
    Optional WdKey. A key you specify by using one of the WdKey constants.
  • Arg3
    Type: System.Object%
    Optional WdKey. A key you specify by using one of the WdKey constants.
  • Arg4
    Type: System.Object%
    Optional WdKey. A key you specify by using one of the WdKey constants.

Return Value

Type: System.Int32

See Also

Reference

_Global Interface

_Global Members

Microsoft.Office.Interop.Word Namespace