共用方式為


IVsUIHierWinClipboardHelper.UnadviseClipboardHelperEvents(UInt32) Method

Definition

Disables client notification of hierarchy clipboard helper events without requiring that the hierarchy implement IConnectionPointContainer.

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

Parameters

dwCookie
UInt32

[in] Abstract handle to the client that was disabled from receiving notifications of hierarchy clipboard helper events.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIHierWinClipboardHelper::UnadviseClipboardHelperEvents(  
   [in] VSCOOKIE dwCookie  
);  

This is the same dwCookie that passed in with the call to AdviseClipboardHelperEvents.

Applies to