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


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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft