CastingDevice.GetDeviceSelectorFromCastingSourceAsync(CastingSource) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得要搭配指定CastingSource之Windows.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
轉換來源。
傳回
AQS 篩選字串。
- 屬性