Share via


RibbonSplitButtonAutomationPeer.IInvokeProvider.Invoke Method

Sends a request to activate the RibbonSplitButton that is associated with this RibbonSplitButtonAutomationPeer.

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

Syntax

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

Implements

IInvokeProvider.Invoke()

Exceptions

Exception Condition
ElementNotEnabledException

The RibbonSplitButton is not enabled.

InvalidOperationException

The RibbonSplitButton can be checked. Use IToggleProvider.Toggle instead.

Remarks

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

.NET Framework Security

See Also

Reference

RibbonSplitButtonAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace