編集

次の方法で共有


TreeViewAutomationPeer.ISelectionProvider.GetSelection Method

Definition

Retrieves a UI Automation provider for each child element that is selected.

 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

Returns

A collection of UI Automation providers.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the TreeViewAutomationPeer instance is cast to an ISelectionProvider interface.

Applies to