Method Execute
- Namespace
- DotNetBrowser.Frames
- Assembly
- DotNetBrowser.dll
Execute(EditorCommand)
Executes the given command
in the frame.
Before executing the command, it's recommended to check whether it can be executed or not
using the IsCommandEnabled(EditorCommand) method.
bool Execute(EditorCommand command)
Parameters
command
EditorCommandThe command to execute. Cannot be null.
Returns
- bool
true if the command has been executed successfully.
Exceptions
- ArgumentNullException
The
command
is null.- ObjectDisposedException
The IFrame object has already been disposed.