Dela via


RibbonGalleryItemDataAutomationPeer.ISelectionItemProvider.AddToSelection Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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
InvalidOperationException

In all cases.

Remarks

This member is an explicit interface member implementation. It can be used only when the RibbonGalleryItemDataAutomationPeer instance is cast to an ISelectionItemProvider interface.

.NET Framework Security

See Also

Reference

RibbonGalleryItemDataAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace