DisplayModeCollection.Item Property

Language:

Retrieves the DisplayMode structure with the specified Format.

Definition

Visual Basic Public ReadOnly Property Item( _
    ByVal f As Format _
) As DisplayModeCollection
C# public DisplayModeCollection this[
    Format f
] { get; }
C++ public:
property DisplayModeCollection^ default [Format] {
        DisplayModeCollection^ get(Format f);
}
JScript In JScript, you can use indexed properties, but you cannot define your own.

Parameters

f Microsoft.DirectX.Direct3D.Format
A Format flag that indicates the format of the DisplayMode to retrieve.

Property Value

Microsoft.DirectX.Direct3D.DisplayModeCollection

This property is read-only. 

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