IVsHierarchy.UnadviseHierarchyEvents(UInt32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- dwCookie
- UInt32
[in] Abstract handle to the client that was disabled from receiving notifications of hierarchy events.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This is the same dwCookie
that passed in with the call to AdviseHierarchyEvents.
From vsshell.idl:
HRESULT IVsHierarchy::UnadviseHierarchyEvents(
[in] VSCOOKIE dwCookie
);
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |