This method of the WebBrowser class implements a wrapper that allows you to execute a command on an OLE object using the IOleCommandTarget::Exec method.
public synchronized void ExecWB(int cmdID, int cmdexecopt,
com.ms.com.Variant pvaIn, com.ms.com.Variant pvaOut);
cmdID | The identifier of the command to execute. |
cmdexecopt | The options set for executing the command. |
pvaIn | A variant used for specifying command input arguments. |
pvaOut | A variant used for specifying command output arguments. |