IWebBrowser2.ExecWB Method
Executes a command and returns the status of the command execution using the IOleCommandTarget interface.
Namespace: Microsoft.Uii.Csr.Browser.Web
Assembly: Microsoft.Uii.Csr.Browser.Web (in Microsoft.Uii.Csr.Browser.Web.dll)
Usage
'Usage
Dim instance As IWebBrowser2
Dim cmdID As OLECMDID
Dim cmdexecopt As OLECMDEXECOPT
Dim pvaIn As Object
Dim pvaOut As Object
instance.ExecWB(cmdID, cmdexecopt, pvaIn, pvaOut)
Syntax
'Declaration
<DispIdAttribute(502)> _
Sub ExecWB ( _
<InAttribute> cmdID As OLECMDID, _
<InAttribute> cmdexecopt As OLECMDEXECOPT, _
<InAttribute> <OptionalAttribute> ByRef pvaIn As Object, _
<InAttribute> <OutAttribute> <OptionalAttribute> ByRef pvaOut As Object _
)
[DispIdAttribute(502)]
void ExecWB (
[InAttribute] OLECMDID cmdID,
[InAttribute] OLECMDEXECOPT cmdexecopt,
[OptionalAttribute] [InAttribute] ref Object pvaIn,
[OptionalAttribute] [InAttribute] out Object pvaOut
)
[DispIdAttribute(502)]
void ExecWB (
[InAttribute] OLECMDID cmdID,
[InAttribute] OLECMDEXECOPT cmdexecopt,
[InAttribute] [OptionalAttribute] Object^% pvaIn,
[InAttribute] [OutAttribute] [OptionalAttribute] Object^% pvaOut
)
/** @attribute DispIdAttribute(502) */
void ExecWB (
/** @attribute InAttribute() */ OLECMDID cmdID,
/** @attribute InAttribute() */ OLECMDEXECOPT cmdexecopt,
/** @attribute InAttribute() */ /** @attribute OptionalAttribute() */ /** @ref */ Object pvaIn,
/** @attribute InAttribute() */ /** @attribute OutAttribute() */ /** @attribute OptionalAttribute() */ /** @ref */ Object pvaOut
)
Parameters
- cmdID
Specifies the command ID.
- cmdexecopt
Specifies the command execution option.
- pvaIn
- pvaOut
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
IWebBrowser2 Interface
IWebBrowser2 Members
Microsoft.Uii.Csr.Browser.Web Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.