共用方式為


HingeAngleSensor.FromIdAsync(String) 方法

定義

從識別碼取得轉軸角度感應器。

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

參數

deviceId
String

Platform::String

winrt::hstring

感應器識別碼。

傳回

轉軸AngleSensor物件的識別碼。

屬性

適用於