KeyboardState.Item Property

Language:

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. 

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center