Share via


IVsWebBrowsingService.CreateExternalWebBrowser Method

Definition

Create an instance of an external Web browser.

public:
 int CreateExternalWebBrowser(System::UInt32 dwCreateFlags, Microsoft::VisualStudio::Shell::Interop::VSPREVIEWRESOLUTION dwResolution, System::String ^ lpszURL);
public:
 int CreateExternalWebBrowser(unsigned int dwCreateFlags, Microsoft::VisualStudio::Shell::Interop::VSPREVIEWRESOLUTION dwResolution, Platform::String ^ lpszURL);
int CreateExternalWebBrowser(unsigned int dwCreateFlags, Microsoft::VisualStudio::Shell::Interop::VSPREVIEWRESOLUTION dwResolution, std::wstring const & lpszURL);
public int CreateExternalWebBrowser (uint dwCreateFlags, Microsoft.VisualStudio.Shell.Interop.VSPREVIEWRESOLUTION dwResolution, string lpszURL);
abstract member CreateExternalWebBrowser : uint32 * Microsoft.VisualStudio.Shell.Interop.VSPREVIEWRESOLUTION * string -> int
Public Function CreateExternalWebBrowser (dwCreateFlags As UInteger, dwResolution As VSPREVIEWRESOLUTION, lpszURL As String) As Integer

Parameters

dwCreateFlags
UInt32

[in] Bit flags specifying browser options. Constructed from values in the __VSCREATEWEBBROWSER enumeration.

dwResolution
VSPREVIEWRESOLUTION

[in] Display resolution. A value from the VSPREVIEWRESOLUTION enumeration.

lpszURL
String

[in] Pointer to a string containing the URL of the page to display.

Returns

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  
);  

Applies to