DisplayModeCollection Class (Microsoft.DirectX.Direct3D)

Manipulates a collection of DisplayMode structures.

Definition

Visual Basic NotInheritable Public Class DisplayModeCollection
    Inherits ObjectLeave Site
    Implements IEnumerableLeave Site, IEnumeratorLeave Site
C# public sealed class DisplayModeCollection : ObjectLeave Site, IEnumerableLeave Site, IEnumeratorLeave Site
C++ public ref class DisplayModeCollection sealed : ObjectLeave Site, IEnumerableLeave Site, IEnumeratorLeave Site
JScript public final class DisplayModeCollection extends ObjectLeave Site implements IEnumerableLeave Site, IEnumeratorLeave Site

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

ObjectLeave Site

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