ProjectNode Class
Manages the persistent state of a Visual Studio project, including references, options, and files. Has a graphical user interface in the form of a hierarchy.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public MustInherit Class ProjectNode _
Inherits HierarchyNode _
Implements IVsGetCfgProvider, IVsProject3, IVsProject2, IVsProject, _
IVsAggregatableProject, IVsProjectFlavorCfgProvider, IPersistFileFormat, IPersist, IVsProjectBuildSystem, _
IVsBuildPropertyStorage, IVsComponentUser, IVsDependencyProvider, IVsSccProject2, IBuildDependencyUpdate, _
IProjectEventsListener, IProjectEventsProvider, IReferenceContainerProvider, IVsProjectSpecialFiles, IVsUIHierWinClipboardHelperEvents
'使用
Dim instance As ProjectNode
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public abstract class ProjectNode : HierarchyNode, IVsGetCfgProvider,
IVsProject3, IVsProject2, IVsProject, IVsAggregatableProject, IVsProjectFlavorCfgProvider,
IPersistFileFormat, IPersist, IVsProjectBuildSystem, IVsBuildPropertyStorage, IVsComponentUser,
IVsDependencyProvider, IVsSccProject2, IBuildDependencyUpdate, IProjectEventsListener, IProjectEventsProvider,
IReferenceContainerProvider, IVsProjectSpecialFiles, IVsUIHierWinClipboardHelperEvents
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public ref class ProjectNode abstract : public HierarchyNode,
IVsGetCfgProvider, IVsProject3, IVsProject2, IVsProject, IVsAggregatableProject,
IVsProjectFlavorCfgProvider, IPersistFileFormat, IPersist, IVsProjectBuildSystem, IVsBuildPropertyStorage,
IVsComponentUser, IVsDependencyProvider, IVsSccProject2, IBuildDependencyUpdate, IProjectEventsListener,
IProjectEventsProvider, IReferenceContainerProvider, IVsProjectSpecialFiles, IVsUIHierWinClipboardHelperEvents
public abstract class ProjectNode extends HierarchyNode implements IVsGetCfgProvider, IVsProject3, IVsProject2, IVsProject, IVsAggregatableProject, IVsProjectFlavorCfgProvider, IPersistFileFormat, IPersist, IVsProjectBuildSystem, IVsBuildPropertyStorage, IVsComponentUser, IVsDependencyProvider, IVsSccProject2, IBuildDependencyUpdate, IProjectEventsListener, IProjectEventsProvider, IReferenceContainerProvider, IVsProjectSpecialFiles, IVsUIHierWinClipboardHelperEvents
Remarks
The ProjectNode class provides project UI properties (such as property sheets), manages project items (such as files, folders and references), and uses MSBuild internally.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Package.HierarchyNode
Microsoft.VisualStudio.Package.ProjectNode
Microsoft.VisualStudio.Package.ProjectContainerNode
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.