IVsObjectManager2.EnumLibraries Method
Retrieves a list of all symbol libraries currently registered with the Visual Studio object manager.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣告
Function EnumLibraries ( _
<OutAttribute> ByRef ppEnum As IVsEnumLibraries2 _
) As Integer
'用途
Dim instance As IVsObjectManager2
Dim ppEnum As IVsEnumLibraries2
Dim returnValue As Integer
returnValue = instance.EnumLibraries(ppEnum)
int EnumLibraries(
out IVsEnumLibraries2 ppEnum
)
int EnumLibraries(
[OutAttribute] IVsEnumLibraries2^% ppEnum
)
abstract EnumLibraries :
ppEnum:IVsEnumLibraries2 byref -> int
function EnumLibraries(
ppEnum : IVsEnumLibraries2
) : int
Parameters
- ppEnum
Type: Microsoft.VisualStudio.Shell.Interop.IVsEnumLibraries2%
[out] The IVsEnumLibraries2 that represents an enumeration of all currently registered symbol libraries.
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 vsshell80.idl:
HRESULT IVsObjectManager2::EnumLibraries(
[out]IVsEnumLibraries2 ** 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.