다음을 통해 공유


IVsRegisterPriorityCommandTarget.UnregisterPriorityCommandTarget Method

Definition

Unregisters the command target identified by a cookie.

public:
 int UnregisterPriorityCommandTarget(System::UInt32 dwCookie);
public:
 int UnregisterPriorityCommandTarget(unsigned int dwCookie);
int UnregisterPriorityCommandTarget(unsigned int dwCookie);
public int UnregisterPriorityCommandTarget (uint dwCookie);
abstract member UnregisterPriorityCommandTarget : uint32 -> int
Public Function UnregisterPriorityCommandTarget (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

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

Returns

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

Applies to