DisplayModeCollection Class (Microsoft.DirectX.Direct3D)
Manipulates a collection of DisplayMode structures.
Definition
Visual Basic NotInheritable Public Class DisplayModeCollection
Inherits Object
Implements IEnumerable, IEnumeratorC# public sealed class DisplayModeCollection : Object, IEnumerable, IEnumerator C++ public ref class DisplayModeCollection sealed : Object, IEnumerable, IEnumerator JScript public final class DisplayModeCollection extends Object implements IEnumerable, IEnumerator
Members Table
The following table lists the members exposed by the object.
Methods
Method Description Equals Returns a value that indicates whether the current instance is equal to a specified object. GetEnumerator Returns an enumerator that can iterate through the DisplayModeCollection. GetHashCode Returns the hash code for the current instance. MoveNext Advances the enumerator to the next DisplayMode. Reset Resets the current enumerator to point to the head of the queue. Properties
Property Description Count Retrieves the number of DisplayMode structures in DisplayModeCollection. Current Retrieves the current DisplayMode object in the queue. Item Retrieves the DisplayMode structure with the specified Format.
Inheritance Hierarchy
DisplayModeCollection
Class Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) Strong Name Microsoft.DirectX.Direct3D, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492