DevicesCollection Class (Microsoft.DirectX.DirectDraw)
Warning: This class is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Collection of devices. Deprecated.
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 Warning: This method is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Initializes a new instance of the object. Deprecated.GetEnumerator Warning: This method is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Gets an enumerator for this collection. Deprecated.MoveNext Warning: This method is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Advances the enumerator to the next element of the collection. Deprecated.Reset Warning: This method is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Sets the enumerator to its initial position, which is before the first element in the collection. Deprecated.Properties
Property Description Count Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Gets the number of elements. Deprecated.Current Warning: This property is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.Gets the current element in the collection. Deprecated.
Inheritance Hierarchy
DevicesCollection
Class Information
Namespace Microsoft.DirectX.DirectDraw Assembly Microsoft.DirectX.DirectDraw (microsoft.directx.directdraw.dll) Strong Name Microsoft.DirectX.DirectDraw, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492