MenuCommand.Invoke Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.