DisplayModeCollection Class (Microsoft.DirectX.Direct3D)
Manipulates a collection of DisplayMode structures.
Visual Basic NotInheritable Public Class DisplayModeCollection
Inherits Object
Implements IEnumerable, IEnumerator
C# 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
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.
Object
DisplayModeCollection
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
Show:
