Share via


IVsObjectManager2.UnregisterLibrary Method

Unregisters a symbol library.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function UnregisterLibrary ( _
    dwCookie As UInteger _
) As Integer
int UnregisterLibrary(
    uint dwCookie
)
int UnregisterLibrary(
    [InAttribute] unsigned int dwCookie
)
abstract UnregisterLibrary : 
        dwCookie:uint32 -> int
function UnregisterLibrary(
    dwCookie : uint
) : int

Parameters

  • dwCookie
    Type: System.UInt32

    [in] The cookie that identifies the library. The cookie is assigned during the library registration.

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::UnregisterLibrary(
[in] VSCOOKIE dwCookie
);

.NET Framework Security

See Also

Reference

IVsObjectManager2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace