共用方式為


CastingDevice.FromIdAsync(String) 方法

定義

取得指定裝置識別碼的 CastingDevice 物件, (使用 Windows.Devices.Enumeration API) 從查詢取得。

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

參數

value
String

Platform::String

winrt::hstring

裝置識別碼。

傳回

代表傳播裝置的物件。

屬性

適用於