HierarchyNode Class
A parent node that has zero or more child nodes, each of which may itself be a hierarchy. This is the base class for hierarchy elements such as FileNode and FolderNode.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
<ComVisibleAttribute(True)> _
<CLSCompliantAttribute(False)> _
Public MustInherit Class HierarchyNode _
Implements IVsUIHierarchy, IVsHierarchy, IVsPersistHierarchyItem2, IVsPersistHierarchyItem, _
IOleCommandTarget, IVsHierarchyDropDataSource2, IVsHierarchyDropDataSource, IVsHierarchyDropDataTarget, IVsHierarchyDeleteHandler
'使用
Dim instance As HierarchyNode
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public abstract class HierarchyNode : IVsUIHierarchy,
IVsHierarchy, IVsPersistHierarchyItem2, IVsPersistHierarchyItem, IOleCommandTarget, IVsHierarchyDropDataSource2,
IVsHierarchyDropDataSource, IVsHierarchyDropDataTarget, IVsHierarchyDeleteHandler
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
public ref class HierarchyNode abstract : IVsUIHierarchy,
IVsHierarchy, IVsPersistHierarchyItem2, IVsPersistHierarchyItem, IOleCommandTarget, IVsHierarchyDropDataSource2,
IVsHierarchyDropDataSource, IVsHierarchyDropDataTarget, IVsHierarchyDeleteHandler
public abstract class HierarchyNode implements IVsUIHierarchy, IVsHierarchy, IVsPersistHierarchyItem2, IVsPersistHierarchyItem, IOleCommandTarget, IVsHierarchyDropDataSource2, IVsHierarchyDropDataSource, IVsHierarchyDropDataTarget, IVsHierarchyDeleteHandler
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Package.HierarchyNode
Microsoft.VisualStudio.Package.ReferenceNode
Microsoft.VisualStudio.Package.FileNode
Microsoft.VisualStudio.Package.FolderNode
Microsoft.VisualStudio.Package.NestedProjectNode
Microsoft.VisualStudio.Package.ProjectNode
Microsoft.VisualStudio.Package.ReferenceContainerNode
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.