RibbonGalleryAutomationPeer.ISelectionProvider.GetSelection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.