Rediger

Del via


DataGridAutomationPeer.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 DataGridAutomationPeer instance is cast to an ISelectionProvider interface.

Applies to