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.
- ppenum
Type: Microsoft.VisualStudio.Shell.Interop.IEnumWindowFrames%
[out] Pointer to an IEnumWindowFrames interface.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.