IElementHandler.Invoke(String, Object) 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 specified command on the element with the given arguments.
public void Invoke (string command, object? args = default);
abstract member Invoke : string * obj -> unit
Public Sub Invoke (command As String, Optional args As Object = Nothing)
Parameters
- command
- String
The name of the command to invoke.
- args
- Object
Optional arguments to pass to the command.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.