Share via


IVsWebBrowsingService.GetFirstWebBrowser Method

Get the first available Web browser.

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

Syntax

'Declaration
Function GetFirstWebBrowser ( _
    ByRef rguidPersistenceSlot As Guid, _
    <OutAttribute> ByRef ppFrame As IVsWindowFrame, _
    <OutAttribute> ByRef ppBrowser As IVsWebBrowser _
) As Integer
int GetFirstWebBrowser(
    ref Guid rguidPersistenceSlot,
    out IVsWindowFrame ppFrame,
    out IVsWebBrowser ppBrowser
)
int GetFirstWebBrowser(
    [InAttribute] Guid% rguidPersistenceSlot, 
    [OutAttribute] IVsWindowFrame^% ppFrame, 
    [OutAttribute] IVsWebBrowser^% ppBrowser
)
abstract GetFirstWebBrowser : 
        rguidPersistenceSlot:Guid byref * 
        ppFrame:IVsWindowFrame byref * 
        ppBrowser:IVsWebBrowser byref -> int
function GetFirstWebBrowser(
    rguidPersistenceSlot : Guid, 
    ppFrame : IVsWindowFrame, 
    ppBrowser : IVsWebBrowser
) : int

Parameters

  • rguidPersistenceSlot
    Type: Guid%

    [in] Pointer to the browser window GUID. A window must be registered in order to be saved and restored when Visual Studio starts up. Use GUID_NULL to use the default.

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::GetFirstWebBrowser(
   [in] REFGUID rguidPersistenceSlot, 
   [out] IVsWindowFrame** ppFrame, 
   [out] IVsWebBrowser** ppBrowser
);

.NET Framework Security

See Also

Reference

IVsWebBrowsingService Interface

Microsoft.VisualStudio.Shell.Interop Namespace