FlavoredProjectBase.AdviseHierarchyEvents Method
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Dichiarazione
Protected Overridable Function AdviseHierarchyEvents ( _
eventSink As IVsHierarchyEvents _
) As UInteger
'Utilizzo
Dim eventSink As IVsHierarchyEvents
Dim returnValue As UInteger
returnValue = Me.AdviseHierarchyEvents(eventSink)
protected virtual uint AdviseHierarchyEvents(
IVsHierarchyEvents eventSink
)
protected:
virtual unsigned int AdviseHierarchyEvents(
IVsHierarchyEvents^ eventSink
)
abstract AdviseHierarchyEvents :
eventSink:IVsHierarchyEvents -> uint32
override AdviseHierarchyEvents :
eventSink:IVsHierarchyEvents -> uint32
protected function AdviseHierarchyEvents(
eventSink : IVsHierarchyEvents
) : uint
Parameters
- eventSink
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyEvents
Return Value
Type: System.UInt32
.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.