Microsoft DirectX 9.0 SDK Update (October 2004)

DisplayModeCollection Class

Language:

Note: This documentation is preliminary and is subject to change.

Manipulates a collection of DisplayMode structures.

Definition

Visual Basic .NET NotInheritable Public Class DisplayModeCollection
   Inherits Object 
   Implements IEnumerable, IEnumerator
C# public sealed class DisplayModeCollection : Object,
   IEnumerable, IEnumerator
Managed C++ public __gc __sealed class DisplayModeCollection  : public Object,
   IEnumerable, IEnumerator
JScript .NET public 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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