DevicesCollection.Item Property

Language:

Retrieves a DeviceInformation structure at a particular index.

Definition

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

Parameters

index System.Int32
The index of the DeviceInformation structure to retrieve.

Property Value

Microsoft.DirectX.DirectSound.DeviceInformation
The DeviceInformation structure in the DevicesCollection at the index from the index parameter.

This property is read-only. 

Remarks

Exceptions
ArgumentOutOfRangeException Leave Site The index parameter is out of range of the collection.


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