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)


Function GetWebBrowserEnum ( _
    ByRef rguidPersistenceSlot As Guid, _
    <OutAttribute> ByRef ppenum As IEnumWindowFrames _
) As Integer
‘사용 방법
Dim instance As IVsWebBrowsingService
Dim rguidPersistenceSlot As Guid
Dim ppenum As IEnumWindowFrames
Dim returnValue As Integer

returnValue = instance.GetWebBrowserEnum(rguidPersistenceSlot, _
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


  • rguidPersistenceSlot
    Type: System.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: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


COM Signature

From vsbrowse.idl:

HRESULT IVsWebBrowsingService::GetWebBrowserEnum(
   [in] REFGUID rguidPersistenceSlot, 
   [out] IEnumWindowFrames** ppEnum

.NET Framework Security

See Also


IVsWebBrowsingService Interface

IVsWebBrowsingService Members

Microsoft.VisualStudio.Shell.Interop Namespace