DisplayModeCollection Class

Language:

Manipulates a collection of DisplayMode structures.

Definition

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

Members Table

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.
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

Object Leave 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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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