TwoPanelHingedDevicePosturePreview.GetCurrentPostureAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取当前设备状态。
public:
virtual IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading ^> ^ GetCurrentPostureAsync() = GetCurrentPostureAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading> GetCurrentPostureAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading> GetCurrentPostureAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading> GetCurrentPostureAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<TwoPanelHingedDevicePosturePreviewReading> GetCurrentPostureAsync();
function getCurrentPostureAsync()
Public Function GetCurrentPostureAsync () As IAsyncOperation(Of TwoPanelHingedDevicePosturePreviewReading)
返回
表示当前姿势的 TwoPanelHingedDevicePosturePreviewReading 。
- 属性