IVsRegisterPriorityCommandTarget::UnregisterPriorityCommandTarget Method (UInt32)
Visual Studio 2015
Unregisters the command target identified by a cookie.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- dwCookie
-
Type:
System::UInt32
[in] Cookie (VSCOOKIE) identifying the command target to unregister. Returned by the RegisterPriorityCommandTarget method.
Return Value
Type: System::Int32If 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 );
Show: