Microsoft DirectX 9.0 SDK Update (October 2004)

Device.DisplayMode Property

Language:

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

Retrieves the display mode's spatial resolution, color resolution, and refresh frequency.

Definition

Visual Basic .NET Public ReadOnly Property DisplayMode As DisplayMode
C# public DisplayMode DisplayMode { get; }
Managed C++ public: __property DisplayMode get_DisplayMode();
JScript .NET public function get DisplayMode() : DisplayMode

Property Value

Microsoft.DirectX.Direct3D.DisplayMode . A DisplayMode object that contains data about the display mode of the adapter (as opposed to the display mode of the device, which might not be active if the device does not own full-screen mode).

This property is read-only. 

Remarks

Exceptions
InvalidCallException Occurs if the method call is invalid. For example, a parameter might contain an invalid value.


© 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