This documentation is archived and is not being maintained.
ProjectElement Class
Visual Studio 2010
Abstract base class for MSBuild construction object model elements. All project elements use this as the base class.
System::Object
Microsoft.Build.Construction::ProjectElement
Microsoft.Build.Construction::ProjectElementContainer
Microsoft.Build.Construction::ProjectExtensionsElement
Microsoft.Build.Construction::ProjectImportElement
Microsoft.Build.Construction::ProjectMetadataElement
Microsoft.Build.Construction::ProjectOnErrorElement
Microsoft.Build.Construction::ProjectOutputElement
Microsoft.Build.Construction::ProjectPropertyElement
Microsoft.Build.Construction::ProjectUsingTaskBodyElement
Microsoft.Build.Construction::ProjectUsingTaskParameterElement
Microsoft.Build.Construction::ProjectElement
Microsoft.Build.Construction::ProjectElementContainer
Microsoft.Build.Construction::ProjectExtensionsElement
Microsoft.Build.Construction::ProjectImportElement
Microsoft.Build.Construction::ProjectMetadataElement
Microsoft.Build.Construction::ProjectOnErrorElement
Microsoft.Build.Construction::ProjectOutputElement
Microsoft.Build.Construction::ProjectPropertyElement
Microsoft.Build.Construction::ProjectUsingTaskBodyElement
Microsoft.Build.Construction::ProjectUsingTaskParameterElement
Assembly: Microsoft.Build (in Microsoft.Build.dll)
The ProjectElement type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AllParents | All parent elements of this element, going up to the ProjectRootElement. |
![]() | Condition | Gets or sets the Condition attribute of this project element. |
![]() | ContainingProject | Gets the project root container that contains this project. |
![]() | Label | Gets or sets the Label value. |
![]() | NextSibling | Gets the next sibling of this project element. |
![]() | Parent | Gets the project element container that contains this project. |
![]() | PreviousSibling | Gets the previous sibling of this project element. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
