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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.