MenuCommand.Invoke Method (Object)

 

Invokes the command with the given parameter.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

public virtual void Invoke(
	object arg
)

Parameters

arg
Type: System.Object

An optional argument for use by the command.

Notes to Inheritors:

The default implementation of this method ignores arg, but deriving classes may override this method and use it.

.NET Framework
Available since 2.0
Return to top
Show: