CastingDevice.FromIdAsync(String) 方法

定义

获取给定设备 ID 的 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

设备 ID。

返回

表示转换设备的 对象。

属性

适用于