DevicePickerFilter クラス

定義

デバイス ピッカーに表示するデバイスを決定するために使用するフィルターを表します。 フィルター パラメーターは、結果として得られるフィルターを構築するために、一緒に OR で処理されます。

public ref class DevicePickerFilter sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DevicePickerFilter final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DevicePickerFilter
Public NotInheritable Class DevicePickerFilter
継承
Object Platform::Object IInspectable DevicePickerFilter
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

プロパティ

SupportedDeviceClasses

ピッカーに表示するサポートされているデバイス クラスの一覧を取得します。 既定では、空のリスト (フィルターなし) になります。 このベクターにデバイス クラスを追加し、指定された 1 つ以上のクラスに含まれるデバイス リストをフィルター処理できます。

SupportedDeviceSelectors

AQS フィルター文字列の一覧を取得します。 これは、既定では空のリスト (フィルターなし) です。 このベクターに 1 つ以上の AQS フィルター文字列を追加し、指定されたフィルターの 1 つ以上を満たすデバイスリストにフィルターを適用できます。

適用対象