SelectionPatternIdentifiers 類別

定義

包含 ISelectionProvider用來做為識別碼的值。

public ref class SelectionPatternIdentifiers 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 SelectionPatternIdentifiers 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 SelectionPatternIdentifiers
Public NotInheritable Class SelectionPatternIdentifiers
繼承
Object Platform::Object IInspectable SelectionPatternIdentifiers
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

SelectionPatternIdentifiers 等類別是 Microsoft UI 自動化通用提供者模式Windows 執行階段實作的識別碼。 如果您要實作Windows 執行階段自訂自動化對等,報告其GetPattern實作中ISelectionProvider 的支援,您可以使用這些識別碼。 您從參考您自己的對等的控制項程式碼,或針對專案容器對等中的FindItemByProperty,需要這些識別碼才能呼叫RaisePropertyEvent呼叫。

根據用戶端用來實作用戶端的技術,並檢查 Microsoft UI 自動化樹狀結構,通常會以不同的方式向用戶端公開此相同模式。 ISelectionProvider 也會顯示為元件物件模型, (COM) 介面。

屬性

CanSelectMultipleProperty

識別 CanSelectMultiple 自動化屬性。

IsSelectionRequiredProperty

識別 IsSelectionRequired 自動化屬性。

SelectionProperty

識別可從容器中取得所選項目的屬性。

適用於

另請參閱