IVsWebBrowsingService.CreateExternalWebBrowser Method
Create an instance of an external Web browser.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function CreateExternalWebBrowser ( _
dwCreateFlags As UInteger, _
dwResolution As VSPREVIEWRESOLUTION, _
lpszURL As String _
) As Integer
int CreateExternalWebBrowser(
uint dwCreateFlags,
VSPREVIEWRESOLUTION dwResolution,
string lpszURL
)
int CreateExternalWebBrowser(
[InAttribute] unsigned int dwCreateFlags,
[InAttribute] VSPREVIEWRESOLUTION dwResolution,
[InAttribute] String^ lpszURL
)
abstract CreateExternalWebBrowser :
dwCreateFlags:uint32 *
dwResolution:VSPREVIEWRESOLUTION *
lpszURL:string -> int
function CreateExternalWebBrowser(
dwCreateFlags : uint,
dwResolution : VSPREVIEWRESOLUTION,
lpszURL : String
) : int
Parameters
- dwCreateFlags
Type: System.UInt32
[in] Bit flags specifying browser options. Constructed from values in the __VSCREATEWEBBROWSER enumeration.
- dwResolution
Type: Microsoft.VisualStudio.Shell.Interop.VSPREVIEWRESOLUTION
[in] Display resolution. A value from the VSPREVIEWRESOLUTION enumeration.
- lpszURL
Type: System.String
[in] Pointer to a string containing the URL of the page to display.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsbrowse.idl:
HRESULT IVsWebBrowsingService::CreateExternalWebBrowser(
[in] VSCREATEWEBBROWSER dwCreateFlags,
[in] VSPREVIEWRESOLUTION dwResolution,
[in] LPCOLESTR lpszURL
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.