Partilhar via


IVsUIHierarchy.UnadviseHierarchyEvents(UInt32) Method

Definition

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

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

Parameters

dwCookie
UInt32

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

Returns

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

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIHierarchy::UnadviseHierarchyEvents(  
   [in] VSCOOKIE dwCookie  
);  

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

Applies to