FlavoredProject.AdviseHierarchyEvents Method
Subscribes to hierarchy events.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Protected Overridable Function AdviseHierarchyEvents ( _
eventSink As IVsHierarchyEvents _
) As UInteger
protected virtual uint AdviseHierarchyEvents(
IVsHierarchyEvents eventSink
)
Parameters
- eventSink
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyEvents
IVsHierarchyEvents .
Return Value
Type: System.UInt32
A unique value, or cookie, that is needed to disable notification of hierarchy events.
Remarks
This method calls AdviseHierarchyEvents.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.