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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.