This documentation is archived and is not being maintained.
ProjectItemDefinitionElement Class
Visual Studio 2010
Represents an ItemDefinition element in an MSBuild project.
System::Object
Microsoft.Build.Construction::ProjectElement
Microsoft.Build.Construction::ProjectElementContainer
Microsoft.Build.Construction::ProjectItemDefinitionElement
Microsoft.Build.Construction::ProjectElement
Microsoft.Build.Construction::ProjectElementContainer
Microsoft.Build.Construction::ProjectItemDefinitionElement
Assembly: Microsoft.Build (in Microsoft.Build.dll)
The ProjectItemDefinitionElement type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AllChildren | Gets a recursive depth-first enumerator over all child elements. (Inherited from ProjectElementContainer.) |
![]() | AllParents | All parent elements of this element, going up to the ProjectRootElement. (Inherited from ProjectElement.) |
![]() | Children | Gets all child elements. (Inherited from ProjectElementContainer.) |
![]() | ChildrenReversed | Gets all child elements, starting from the last child. (Inherited from ProjectElementContainer.) |
![]() | 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. (Inherited from ProjectElementContainer.) |
![]() | FirstChild | Gets the first child element. (Inherited from ProjectElementContainer.) |
![]() | ItemType | Gets the item definition element name. |
![]() | Label | Gets or sets the Label value. (Inherited from ProjectElement.) |
![]() | LastChild | Gets the last child element. (Inherited from ProjectElementContainer.) |
![]() | Metadata | Gets all child metadata definitions. |
![]() | 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 | |
|---|---|---|
![]() | AddMetadata | Adds metadata to this item definition. Appends the metadata to any existing metadata. |
![]() | AppendChild | Appends the child element as the last child of this project container. (Inherited from ProjectElementContainer.) |
![]() | 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. (Inherited from ProjectElementContainer.) |
![]() | InsertBeforeChild | Inserts the child element before the reference element. (Inherited from ProjectElementContainer.) |
![]() | 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. (Inherited from ProjectElementContainer.) |
![]() | RemoveAllChildren | Removes all the children, if any, from this project container. (Inherited from ProjectElementContainer.) |
![]() | RemoveChild | Removes a child element from this project container. (Inherited from ProjectElementContainer.) |
![]() | 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:
