共用方式為


Pedometer.FromIdAsync(String) 方法

定義

從其識別碼取得計計。

public:
 static IAsyncOperation<Pedometer ^> ^ FromIdAsync(Platform::String ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<Pedometer> FromIdAsync(winrt::hstring const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<Pedometer> FromIdAsync(string deviceId);
function fromIdAsync(deviceId)
Public Shared Function FromIdAsync (deviceId As String) As IAsyncOperation(Of Pedometer)

參數

deviceId
String

Platform::String

winrt::hstring

感應器識別碼。

傳回

從其識別碼傳回 Pedometer 物件。

屬性

Windows 需求

應用程式功能
activity

適用於