共用方式為


FlavoredProjectBase.IVsUIHierarchy.AdviseHierarchyEvents Method

Definition

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

Returns

The HRESULT.

Implements

Applies to