DevicesCollection Class (Microsoft.DirectX.DirectSound)

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


Visual Basic NotInheritable Public Class DevicesCollection
    Inherits ObjectLeave Site
    Implements IEnumerableLeave Site, IEnumeratorLeave Site
C# public sealed class DevicesCollection : ObjectLeave Site, IEnumerableLeave Site, IEnumeratorLeave Site
C++ public ref class DevicesCollection sealed : ObjectLeave Site, IEnumerableLeave Site, IEnumeratorLeave Site
JScript public final class DevicesCollection extends ObjectLeave Site implements IEnumerableLeave Site, IEnumeratorLeave Site

Members Table

The following table lists the members exposed by the object.


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

ObjectLeave Site


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