DevicesCollection Class (Microsoft.DirectX.DirectSound)
Represents a collection of DeviceInformation structures for each available sound device.
Definition
Visual Basic NotInheritable Public Class DevicesCollection
Inherits Object
Implements IEnumerable, IEnumeratorC# 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
The following table lists the members exposed by the object.
Methods
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. Properties
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
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