Partager via


CastingDevice.GetDeviceSelectorFromCastingSourceAsync(CastingSource) Méthode

Définition

Obtient une chaîne de filtre AQS à utiliser avec les API Windows.Devices.Enumeration pour un CastingSource donné.

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)

Paramètres

castingSource
CastingSource

Source de cast.

Retours

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Chaîne de filtre AQS.

Attributs

S’applique à