CaptureDevicesCollection.Item Property (Microsoft.DirectX.DirectSound)

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 CaptureDevicesCollection at the index from the index parameter.

This property is read-only. 

Remarks

Exceptions

ArgumentOutOfRangeExceptionLeave Site

The index parameter is out of range of the collection.