Freigeben über


IVsRegisterEditors.UnregisterEditor Method

Unregisters an editor.

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

Syntax

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

Parameters

  • dwCookie
    Type: UInt32

    [in] Abstract handle that was returned by the call to the RegisterEditor.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsRegisterEditors::UnregisterEditor(
   [in] VSCOOKIE dwCookie
);

.NET Framework Security

See Also

Reference

IVsRegisterEditors Interface

Microsoft.VisualStudio.Shell.Interop Namespace