IVsObjectManager2::RegisterSimpleLibrary Method (IVsSimpleLibrary2^, UInt32)
Visual Studio 2015
Registers a managed code symbol library with the Visual Studio object manager.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int RegisterSimpleLibrary( IVsSimpleLibrary2^ pLib, [OutAttribute] unsigned int% pdwCookie )
Parameters
- pLib
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsSimpleLibrary2^
[in] The IVsSimpleLibrary2 that represents a managed code library.
- pdwCookie
-
Type:
System::UInt32
[out]The cookie that identifies the registered library.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT RegisterSimpleLibrary(
[in] IVsSimpleLibrary2 * pLib,
[out] VSCOOKIE* pdwCookie
);
Show: