FlavoredProject.IVsUIHierarchy.AdviseHierarchyEvents Method
Definition
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.
Subscribes to hierarchy events.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.AdviseHierarchyEvents(Microsoft::VisualStudio::Shell::Interop::IVsHierarchyEvents ^ pEventSink, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::AdviseHierarchyEvents;
int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.AdviseHierarchyEvents(Microsoft::VisualStudio::Shell::Interop::IVsHierarchyEvents const & pEventSink, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
int IVsUIHierarchy.AdviseHierarchyEvents (Microsoft.VisualStudio.Shell.Interop.IVsHierarchyEvents pEventSink, out uint pdwCookie);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.AdviseHierarchyEvents : Microsoft.VisualStudio.Shell.Interop.IVsHierarchyEvents * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.AdviseHierarchyEvents : Microsoft.VisualStudio.Shell.Interop.IVsHierarchyEvents * uint32 -> int
Function AdviseHierarchyEvents (pEventSink As IVsHierarchyEvents, ByRef pdwCookie As UInteger) As Integer Implements IVsUIHierarchy.AdviseHierarchyEvents
Parameters
- pEventSink
- IVsHierarchyEvents
- pdwCookie
- UInt32
A unique value, or cookie, that is needed to disable notification of hierarchy events.
Returns
The cookie.
Implements
Remarks
This method calls the AdviseHierarchyEvents method, which calls the AdviseHierarchyEvents method on the inner project.