共用方式為


ClaimedLineDisplay.CheckPowerStatusAsync 方法

定義

取得裝置的目前電源狀態。

public:
 virtual IAsyncOperation<LineDisplayPowerStatus> ^ CheckPowerStatusAsync() = CheckPowerStatusAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<LineDisplayPowerStatus> CheckPowerStatusAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<LineDisplayPowerStatus> CheckPowerStatusAsync();
function checkPowerStatusAsync()
Public Function CheckPowerStatusAsync () As IAsyncOperation(Of LineDisplayPowerStatus)

傳回

裝置的目前電源狀態。

屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

適用於