Upraviť

Zdieľať cez


MenuCommand.Invoke Method

Definition

Invokes the command.

Overloads

Invoke()

Invokes the command.

Invoke(Object)

Invokes the command with the given parameter.

Invoke()

Source:
MenuCommand.cs
Source:
MenuCommand.cs
Source:
MenuCommand.cs

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 ()

Applies to

Invoke(Object)

Source:
MenuCommand.cs
Source:
MenuCommand.cs
Source:
MenuCommand.cs

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

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