TreeViewAutomationPeer.ISelectionProvider.GetSelection Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

IRawElementProviderSimple[] ISelectionProvider.GetSelection()

Return Value

Type: System.Windows.Automation.Provider.IRawElementProviderSimple[]

A collection of UI Automation providers.

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

.NET Framework
Available since 3.0
Available since 3.0
Return to top