Share via


RibbonTabDataAutomationPeer.ISelectionItemProvider.AddToSelection Method

This API is not implemented.

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Private Sub AddToSelection Implements ISelectionItemProvider.AddToSelection
void ISelectionItemProvider.AddToSelection()
private:
virtual void AddToSelection() sealed = ISelectionItemProvider::AddToSelection
private abstract AddToSelection : unit -> unit 
private override AddToSelection : unit -> unit 
JScript does not support explicit interface implementations.

Implements

ISelectionItemProvider.AddToSelection()

Exceptions

Exception Condition
ElementNotEnabledException

The user cannot interact with the RibbonTab that is associated with the RibbonTabDataAutomationPeer.

InvalidOperationException

A element other than the RibbonTab that is associated with this RibbonTabDataAutomationPeer is selected.

.NET Framework Security

See Also

Reference

RibbonTabDataAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace