Share via


CastingDevice.GetDeviceSelector(CastingPlaybackTypes) 方法

定义

获取要与给定 CastingPlaybackTypesWindows.Devices.Enumeration API 一起使用的 AQS 筛选器字符串。

public:
 static Platform::String ^ GetDeviceSelector(CastingPlaybackTypes type);
 static winrt::hstring GetDeviceSelector(CastingPlaybackTypes const& type);
public static string GetDeviceSelector(CastingPlaybackTypes type);
function getDeviceSelector(type)
Public Shared Function GetDeviceSelector (type As CastingPlaybackTypes) As String

参数

type
CastingPlaybackTypes

强制转换播放类型。

返回

String

Platform::String

winrt::hstring

AQS 筛选器字符串。

适用于