편집

다음을 통해 공유


RibbonGalleryAutomationPeer.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

An AutomationPeer for each child element that is selected.

Implements

Remarks

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

Applies to