DevicesCollection Class

Language:

Represents a collection of DeviceInformation structures for each available sound device.

Definition

Visual Basic NotInheritable Public Class DevicesCollection
    Inherits Object
    Implements IEnumerable, IEnumerator
C# public sealed class DevicesCollection : Object, IEnumerable, IEnumerator
C++ public ref class DevicesCollection sealed : Object, IEnumerable, IEnumerator
JScript public final class DevicesCollection extends Object implements IEnumerable, IEnumerator

Members Table

Method Description
DevicesCollection Initializes a new instance of the DevicesCollection class.
GetEnumerator Retrieves an enumerator for the DevicesCollection object.
MoveNext Advances to the next DeviceInformation structure in the DevicesCollection object.
Reset Sets the DevicesCollection object to its initial position.
Property Description
Count Gets the number of DeviceInformation structures in the DevicesCollection object.
Current Retrives the element at the current position of the DevicesCollection object's enumeration.
Item Retrieves a DeviceInformation structure at a particular index.

Inheritance Hierarchy

Object Leave Site
DevicesCollection

Class Information

Namespace Microsoft.DirectX.DirectSound
Assembly Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll)
Strong Name Microsoft.DirectX.DirectSound,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

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