KeyboardState.Item Property (Microsoft.DirectX.DirectInput)

Definition

Visual Basic Public ReadOnly Property Item( _
    ByVal index As Key _
) As Boolean
C# public bool this[
    Key index
] { get; }
C++ public:
property bool default [Key] {
        bool get(Key index);
}
JScript In JScript, you can use indexed properties, but you cannot define your own.

Parameters

index Microsoft.DirectX.DirectInput.Key

Property Value

System.Boolean

This property is read-only.