다음을 통해 공유


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

‘선언
Function UnregisterLibrary ( _
    dwCookie As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsObjectManager2
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnregisterLibrary(dwCookie)
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

IVsObjectManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace