次の方法で共有


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

'宣言
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, _
    ppenum)
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: 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.

Remarks

COM Signature

From vsbrowse.idl:

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

.NET Framework Security

See Also

Reference

IVsWebBrowsingService Interface

IVsWebBrowsingService Members

Microsoft.VisualStudio.Shell.Interop Namespace