Executes the specified command against the document.
Public Sub ExecCommand ( _ command As String, _ showUI As Boolean, _ value As Object _ )
Dim instance As HtmlDocument Dim command As String Dim showUI As Boolean Dim value As Object instance.ExecCommand(command, showUI, _ value)
public void ExecCommand( string command, bool showUI, Object value )
public: void ExecCommand( String^ command, bool showUI, Object^ value )
public function ExecCommand( command : String, showUI : boolean, value : Object )
ExecCommand exposes a large array of commands for which there are no methods exposed on HtmlDocument. Using ExecCommand you can insert new HTML elements, select and format text, and clear any cached authentication credentials.
Certain commands, such as copy, have return values. In the current implementation of ExecCommand, you cannot obtain a return value from your call. To retrieve return values, use the corresponding unmanaged method on a DomDocument reference instead.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98