This documentation is archived and is not being maintained.
ProjectItem Class
Visual Studio 2010
Represents an evaluated design-time project item.
Assembly: Microsoft.Build (in Microsoft.Build.dll)
The ProjectItem type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DirectMetadata | Gets an enumerator over all item metadata. |
![]() | DirectMetadataCount | Gets the count of metadata for this item. |
![]() | EvaluatedInclude | Gets the evaluated value of the Include attribute. |
![]() | IsImported | Determines if this item originates from an imported file. |
![]() | ItemType | Gets or sets the type of this item. |
![]() | Metadata | Gets all the metadata for this item, including metadata originating from item definitions. |
![]() | MetadataCount | Gets the count of metadata for this item, including any metadata originating from item definitions, and any built-in metadata. |
![]() | Project | Gets the project that contains this project item. |
![]() | UnevaluatedInclude | Gets or sets the unevaluated value of the Include attribute. |
![]() | Xml | Gets the item element that is associated with this item. |
| 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.) |
![]() | GetMetadata | Gets the evaluated value of the given metadata for this item. |
![]() | GetMetadataValue | Get the evaluated value of the given metadata for this item, including metadata originating from an item definition. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HasMetadata | Determines whether metadata with the given name is defined on this item. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemoveMetadata | Removes any metadata with the given name. |
![]() | Rename | Renames the item to the given name. |
![]() | SetMetadataValue | Adds metadata with the given name and unevaluated value to the item. |
![]() | 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:
