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
commandEditorCommandThe command to execute. Cannot be null.
Returns
- bool
true if the command has been executed successfully.
Exceptions
- ArgumentNullException
The
commandis null.- ObjectDisposedException
The IFrame object has already been disposed.