Partager via


DisplayMode.RefreshRate Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the refresh rate.

Definition

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

Property Value

System.Int32
An Int32Leave Site value that indicates the refresh rate.

This property is read/write. 

Remarks

A value of 0 indicates the adapter default refresh rate.