次の方法で共有


IVsHierarchy.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.

Remarks

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

COM Signature

From vsshell.idl:

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

Applies to