Dela via


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: UInt32

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

  • lpszURL
    Type: String

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

Return Value

Type: 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

See Also

Reference

IVsWebBrowsingService Interface

Microsoft.VisualStudio.Shell.Interop Namespace