Share via


ClaimedLineDisplay.FromIdAsync(String) メソッド

定義

DeviceInformation.Id から LineDisplay オブジェクトを作成します。

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

パラメーター

deviceId
String

Platform::String

winrt::hstring

DeviceId プロパティから取得できる特定の行の表示を識別する DeviceInformation.Id

戻り値

一意のデバイス識別子で指定された行の表示。 次の場合に null オブジェクトを返します。

  • 特定のデバイスが見つかりません。
  • 既存のデバイスへのアクセスが拒否されました。 ユーザーはデバイスへのアクセスを拒否できます。これは例外として扱われません。
属性

適用対象