This documentation is archived and is not being maintained.
ProjectElementContainer Class
Visual Studio 2010
Provides an abstract container class for project elements.
System::Object
Microsoft.Build.Construction::ProjectElement
Microsoft.Build.Construction::ProjectElementContainer
More...
Microsoft.Build.Construction::ProjectElement
Microsoft.Build.Construction::ProjectElementContainer
More...
Assembly: Microsoft.Build (in Microsoft.Build.dll)
The ProjectElementContainer type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AllChildren | Gets a recursive depth-first enumerator over all child elements. |
![]() | AllParents | All parent elements of this element, going up to the ProjectRootElement. (Inherited from ProjectElement.) |
![]() | Children | Gets all child elements. |
![]() | ChildrenReversed | Gets all child elements, starting from the last child. |
![]() | Condition | Gets or sets the Condition attribute of this project element. (Inherited from ProjectElement.) |
![]() | ContainingProject | Gets the project root container that contains this project. (Inherited from ProjectElement.) |
![]() | Count | Gets the number of child elements. |
![]() | FirstChild | Gets the first child element. |
![]() | Label | Gets or sets the Label value. (Inherited from ProjectElement.) |
![]() | LastChild | Gets the last child element. |
![]() | NextSibling | Gets the next sibling of this project element. (Inherited from ProjectElement.) |
![]() | Parent | Gets the project element container that contains this project. (Inherited from ProjectElement.) |
![]() | PreviousSibling | Gets the previous sibling of this project element. (Inherited from ProjectElement.) |
| Name | Description | |
|---|---|---|
![]() | AppendChild | Appends the child element as the last child of this project container. |
![]() | 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.) |
![]() | InsertAfterChild | Inserts the child element after the reference element. |
![]() | InsertBeforeChild | Inserts the child element before the reference element. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PrependChild | Prepends the child element as the first child of this project container. |
![]() | RemoveAllChildren | Removes all the children, if any, from this project container. |
![]() | RemoveChild | Removes a child element from this project container. |
![]() | 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.
System::Object
Microsoft.Build.Construction::ProjectElement
Microsoft.Build.Construction::ProjectElementContainer
Microsoft.Build.Construction::ProjectChooseElement
Microsoft.Build.Construction::ProjectImportGroupElement
Microsoft.Build.Construction::ProjectItemDefinitionElement
Microsoft.Build.Construction::ProjectItemDefinitionGroupElement
Microsoft.Build.Construction::ProjectItemElement
Microsoft.Build.Construction::ProjectItemGroupElement
Microsoft.Build.Construction::ProjectOtherwiseElement
Microsoft.Build.Construction::ProjectPropertyGroupElement
Microsoft.Build.Construction::ProjectRootElement
Microsoft.Build.Construction::ProjectTargetElement
Microsoft.Build.Construction::ProjectTaskElement
Microsoft.Build.Construction::ProjectUsingTaskElement
Microsoft.Build.Construction::ProjectWhenElement
Microsoft.Build.Construction::UsingTaskParameterGroupElement
Microsoft.Build.Construction::ProjectElement
Microsoft.Build.Construction::ProjectElementContainer
Microsoft.Build.Construction::ProjectChooseElement
Microsoft.Build.Construction::ProjectImportGroupElement
Microsoft.Build.Construction::ProjectItemDefinitionElement
Microsoft.Build.Construction::ProjectItemDefinitionGroupElement
Microsoft.Build.Construction::ProjectItemElement
Microsoft.Build.Construction::ProjectItemGroupElement
Microsoft.Build.Construction::ProjectOtherwiseElement
Microsoft.Build.Construction::ProjectPropertyGroupElement
Microsoft.Build.Construction::ProjectRootElement
Microsoft.Build.Construction::ProjectTargetElement
Microsoft.Build.Construction::ProjectTaskElement
Microsoft.Build.Construction::ProjectUsingTaskElement
Microsoft.Build.Construction::ProjectWhenElement
Microsoft.Build.Construction::UsingTaskParameterGroupElement
Show:
