共用方式為


DisplayModeInfo.PhysicalPresentationRate 屬性

定義

取得或設定當重新整理速率虛擬化) 時,顯示正在掃描圖元的實際實體速率 (。

DisplayPresentationRate PhysicalPresentationRate();
public DisplayPresentationRate PhysicalPresentationRate { get; }
var displayPresentationRate = displayModeInfo.physicalPresentationRate;
Public ReadOnly Property PhysicalPresentationRate As DisplayPresentationRate

屬性值

DisplayPresentationRate物件,代表顯示正在掃描圖元的實際實體速率。

Windows 需求

裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)

備註

從Windows 11開始,如果實體顯示器能夠虛擬化重新整理速率,且不一定代表網路的實際圖元速率,則 DisplayPresentationRate會虛擬化。

若要判斷顯示正在掃描圖元的實際實體速率,請在建立DisplayManagerDisplayPath物件時,使用旗標DisplayManagerOptions::VirtualRefreshRateAware

如果您的應用程式的 DisplayManager 沒有虛擬重新整理率感知,則它將無法存取 PhysicalPresentationRate

適用於