Microsoft DirectX 9.0 SDK Update (October 2004)

DisplayModeCollection.Item Property

Language:

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

Retrieves the DisplayMode structure with the specified Format.

Definition

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

Property Value

Microsoft.DirectX.Direct3D.DisplayModeCollection .

This property is read-only. 

Parameters

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

© 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