Compartilhar via


CastingDevice.GetDeviceSelectorFromCastingSourceAsync(CastingSource) Método

Definição

Obtém uma cadeia de caracteres de filtro do AQS a ser usada com as APIs Windows.Devices.Enumeration para um determinado 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)

Parâmetros

castingSource
CastingSource

A fonte de conversão.

Retornos

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

A cadeia de caracteres de filtro do AQS.

Atributos

Aplica-se a