Поделиться через


CastingDevice.GetDeviceSelectorFromCastingSourceAsync(CastingSource) Метод

Определение

Возвращает строку фильтра AQS для использования с API Windows.Devices.Enumeration для заданного Объекта CastingSource.

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.

Атрибуты

Применяется к