ITaskItem2 Interface
.NET Framework 4.5
This interface adds escaping support to the ITaskItem interface.
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
The ITaskItem2 type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | EvaluatedIncludeEscaped | Gets or sets the item include value e.g. for disk-based items this would be the file path. |
![]() | ItemSpec | Gets or sets the item specification. (Inherited from ITaskItem.) |
![]() | MetadataCount | Gets the number of metadata entries associated with the item. (Inherited from ITaskItem.) |
![]() | MetadataNames | Gets the names of the metadata entries associated with the item. (Inherited from ITaskItem.) |
| Name | Description | |
|---|---|---|
![]() | CloneCustomMetadata | Gets the collection of custom metadata. (Inherited from ITaskItem.) |
![]() | CloneCustomMetadataEscaped | ITaskItem2 implementation which returns a clone of the metadata on this object. Values returned are in their original escaped form. |
![]() | CopyMetadataTo | Copies the custom metadata entries to another item. (Inherited from ITaskItem.) |
![]() | GetMetadata | Gets the value of the specified metadata entry. (Inherited from ITaskItem.) |
![]() | GetMetadataValueEscaped | Allows the values of metadata on the item to be queried. |
![]() | RemoveMetadata | Removes the specified metadata entry from the item. (Inherited from ITaskItem.) |
![]() | SetMetadata | Adds or changes a custom metadata entry to the item. (Inherited from ITaskItem.) |
![]() | SetMetadataValueLiteral | Allows a piece of custom metadata to be set on the item. Assumes that the value passed in is unescaped, and escapes the value as necessary in order to maintain its value. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
