Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MenuCommand.Invoke Method (Object)

Invokes the command with the given parameter.

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

Public Overridable Sub Invoke ( _
	arg As Object _


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
© 2015 Microsoft