IVsWebBrowsingService::CreateExternalWebBrowser Method (UInt32, VSPREVIEWRESOLUTION, String^)

 

Create an instance of an external Web browser.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int CreateExternalWebBrowser(
	unsigned int dwCreateFlags,
	VSPREVIEWRESOLUTION dwResolution,
	String^ lpszURL
)

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.

From vsbrowse.idl:

HRESULT IVsWebBrowsingService::CreateExternalWebBrowser(
   [in] VSCREATEWEBBROWSER dwCreateFlags, 
   [in] VSPREVIEWRESOLUTION dwResolution, 
   [in] LPCOLESTR lpszURL
);
Return to top
Show: