Freigeben über


CastingDevice.GetDeviceSelectorFromCastingSourceAsync(CastingSource) Methode

Definition

Ruft eine AQS-Filterzeichenfolge ab, die mit den Windows.Devices.Enumeration-APIs für eine bestimmte CastingSource verwendet werden soll.

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)

Parameter

castingSource
CastingSource

Die Umwandlungsquelle.

Gibt zurück

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

Die AQS-Filterzeichenfolge.

Attribute

Gilt für: