SelectorAutomationPeer.ISelectionProvider.GetSelection 方法

定义

此类型或成员支持 Windows Presentation Foundation (WPF) 基础结构,并且不应在代码中直接使用。

 virtual cli::array <System::Windows::Automation::Provider::IRawElementProviderSimple ^> ^ System.Windows.Automation.Provider.ISelectionProvider.GetSelection() = System::Windows::Automation::Provider::ISelectionProvider::GetSelection;
System.Windows.Automation.Provider.IRawElementProviderSimple[] ISelectionProvider.GetSelection ();
abstract member System.Windows.Automation.Provider.ISelectionProvider.GetSelection : unit -> System.Windows.Automation.Provider.IRawElementProviderSimple[]
override this.System.Windows.Automation.Provider.ISelectionProvider.GetSelection : unit -> System.Windows.Automation.Provider.IRawElementProviderSimple[]
Function GetSelection () As IRawElementProviderSimple() Implements ISelectionProvider.GetSelection

返回

IRawElementProviderSimple[]

UI 自动化提供程序的集合。 如果允许多重选择,则为 true;否则为 false

实现

适用于