次の方法で共有


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
)
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
);

Permissions

See Also

Reference

IVsObjectManager2 Interface

IVsObjectManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace