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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.