Share via


PresentParameters.FullScreenRefreshRateInHz Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the rate at which the display adapter refreshes the screen.

Definition

Visual Basic Public Property FullScreenRefreshRateInHz As Integer
C# public int FullScreenRefreshRateInHz { get; set; }
C++ public:
property int FullScreenRefreshRateInHz {
        int get();
        void set(int value);
}
JScript public function get FullScreenRefreshRateInHz() : int
public function set FullScreenRefreshRateInHz(int);

Property Value

System.Int32
Refresh rate in hertz.

This property is read/write. 

Remarks

The value depends on the mode in which the application is running. For windowed mode, the refresh rate must be 0. For full-screen mode, the refresh rate is one of those found through DisplayModeCollection.