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