Microsoft DirectX 9.0 SDK Update (October 2004)

DevicesCollection Class

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET NotInheritable Public Class DevicesCollection
   Inherits Object 
   Implements IEnumerable, IEnumerator
C# public sealed class DevicesCollection : Object,
   IEnumerable, IEnumerator
Managed C++ public __gc __sealed class DevicesCollection  : public Object,
   IEnumerable, IEnumerator
JScript .NET public 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center