IVsRegisterPriorityCommandTarget.UnregisterPriorityCommandTarget Method

Unregisters the command target identified by a cookie.

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

Syntax

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

Parameters

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:

[C++]

HRESULT IVsRegisterPriorityCommandTarget::UnregisterPriorityCommandTarget(
   [in] VSCOOKIE dwCookie
);

.NET Framework Security

See Also

Reference

IVsRegisterPriorityCommandTarget Interface

Microsoft.VisualStudio.Shell.Interop Namespace