IVsRegisterPriorityCommandTarget::UnregisterPriorityCommandTarget Method (UInt32)

 

Unregisters the command target identified by a cookie.

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

int UnregisterPriorityCommandTarget(
	unsigned int dwCookie
)

Parameters

dwCookie
Type: System::UInt32

[in] Cookie (VSCOOKIE) identifying the command target to unregister. Returned by the RegisterPriorityCommandTarget method.

Return Value

Type: System::Int32

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

From vsshell80.idl:

[C++]

HRESULT IVsRegisterPriorityCommandTarget::UnregisterPriorityCommandTarget(
   [in] VSCOOKIE dwCookie
);
Return to top
Show: