BaseUIHierarchy.AdviseHierarchyEvents Method
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
‘선언
Public Overridable Function AdviseHierarchyEvents ( _
sink As IVsHierarchyEvents, _
<OutAttribute> ByRef cookie As UInteger _
) As Integer
public virtual int AdviseHierarchyEvents(
IVsHierarchyEvents sink,
out uint cookie
)
public:
virtual int AdviseHierarchyEvents(
IVsHierarchyEvents^ sink,
[OutAttribute] unsigned int% cookie
)
abstract AdviseHierarchyEvents :
sink:IVsHierarchyEvents *
cookie:uint32 byref -> int
override AdviseHierarchyEvents :
sink:IVsHierarchyEvents *
cookie:uint32 byref -> int
public function AdviseHierarchyEvents(
sink : IVsHierarchyEvents,
cookie : uint
) : int
Parameters
- cookie
Type: System.UInt32%
Return Value
Type: System.Int32
Implements
IVsUIHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, UInt32%)
IVsHierarchy.AdviseHierarchyEvents(IVsHierarchyEvents, 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.