MenuCommand.Invoke MenuCommand.Invoke MenuCommand.Invoke MenuCommand.Invoke Method

Definition

Invokes the command.

Overloads

Invoke() Invoke() Invoke() Invoke()

Invokes the command.

Invoke(Object) Invoke(Object) Invoke(Object) Invoke(Object)

Invokes the command with the given parameter.

Invoke() Invoke() Invoke() Invoke()

Invokes the command.

public:
 virtual void Invoke();
public virtual void Invoke ();
abstract member Invoke : unit -> unit
override this.Invoke : unit -> unit
Public Overridable Sub Invoke ()

Invoke(Object) Invoke(Object) Invoke(Object) Invoke(Object)

Invokes the command with the given parameter.

public:
 virtual void Invoke(System::Object ^ arg);
public virtual void Invoke (object arg);
abstract member Invoke : obj -> unit
override this.Invoke : obj -> unit
Public Overridable Sub Invoke (arg As Object)

Parameters

arg
Object Object Object 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.

Applies to