Partager via


IVsWebBrowsingService.GetWebBrowserEnum Method

Get an enumerator for the current Web browsers.

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

Syntax

'Declaration
Function GetWebBrowserEnum ( _
    ByRef rguidPersistenceSlot As Guid, _
    <OutAttribute> ByRef ppenum As IEnumWindowFrames _
) As Integer
int GetWebBrowserEnum(
    ref Guid rguidPersistenceSlot,
    out IEnumWindowFrames ppenum
)
int GetWebBrowserEnum(
    [InAttribute] Guid% rguidPersistenceSlot, 
    [OutAttribute] IEnumWindowFrames^% ppenum
)
abstract GetWebBrowserEnum : 
        rguidPersistenceSlot:Guid byref * 
        ppenum:IEnumWindowFrames byref -> int
function GetWebBrowserEnum(
    rguidPersistenceSlot : Guid, 
    ppenum : IEnumWindowFrames
) : 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::GetWebBrowserEnum(
   [in] REFGUID rguidPersistenceSlot, 
   [out] IEnumWindowFrames** ppEnum
);

.NET Framework Security

See Also

Reference

IVsWebBrowsingService Interface

Microsoft.VisualStudio.Shell.Interop Namespace