共用方式為


CastingDevice.GetDeviceSelectorFromCastingSourceAsync(CastingSource) 方法

定義

取得要搭配指定CastingSourceWindows.Devices.Enumeration API 使用的 AQS 篩選字串。

public:
 static IAsyncOperation<Platform::String ^> ^ GetDeviceSelectorFromCastingSourceAsync(CastingSource ^ castingSource);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<winrt::hstring> GetDeviceSelectorFromCastingSourceAsync(CastingSource const& castingSource);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> GetDeviceSelectorFromCastingSourceAsync(CastingSource castingSource);
function getDeviceSelectorFromCastingSourceAsync(castingSource)
Public Shared Function GetDeviceSelectorFromCastingSourceAsync (castingSource As CastingSource) As IAsyncOperation(Of String)

參數

castingSource
CastingSource

轉換來源。

傳回

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

AQS 篩選字串。

屬性

適用於