Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a UI Automation provider for each child element that is selected.
Namespace: Microsoft.Windows.Automation.Peers
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Private Function GetSelection As IRawElementProviderSimple()
Implements ISelectionProvider.GetSelection
IRawElementProviderSimple[] ISelectionProvider.GetSelection()
private:
virtual array<IRawElementProviderSimple^>^ GetSelection() sealed = ISelectionProvider::GetSelection
private abstract GetSelection : unit -> IRawElementProviderSimple[]
private override GetSelection : unit -> IRawElementProviderSimple[]
JScript does not support explicit interface implementations.
Return Value
Type: System.Windows.Automation.Provider.IRawElementProviderSimple[]
An AutomationPeer for each child element that is selected.
Implements
ISelectionProvider.GetSelection()
Remarks
This member is an explicit interface member implementation. It can be used only when the RibbonGalleryAutomationPeer instance is cast to an ISelectionProvider interface.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.