IVsObjectManager2.FindLibrary Method
Finds a specific symbol library registered with the 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
'Declaration
Function FindLibrary ( _
ByRef guidLibrary As Guid, _
<OutAttribute> ByRef ppLib As IVsLibrary2 _
) As Integer
int FindLibrary(
ref Guid guidLibrary,
out IVsLibrary2 ppLib
)
int FindLibrary(
[InAttribute] Guid% guidLibrary,
[OutAttribute] IVsLibrary2^% ppLib
)
abstract FindLibrary :
guidLibrary:Guid byref *
ppLib:IVsLibrary2 byref -> int
function FindLibrary(
guidLibrary : Guid,
ppLib : IVsLibrary2
) : int
Parameters
guidLibrary
Type: Guid%[in] The Guid that identifies the registered library. For more information, see vsshell80.idl, VS Browse Libraries section.
ppLib
Type: Microsoft.VisualStudio.Shell.Interop.IVsLibrary2%[out] The IVsLibrary2 that represents requested library.
Return Value
Type: 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::FindLibrary(
[in] REFGUID guidLibrary,
[out] IVsLibrary2 **ppLib
);
.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.