ITaskItem2 Interface

 

This interface adds escaping support to the ITaskItem interface.

Namespace:   Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

[ComVisibleAttribute(true)]
[GuidAttribute("ac6d5a59-f877-461b-88e3-b2f06fce0cb9")]
public interface ITaskItem2 : ITaskItem

NameDescription
System_CAPS_pubpropertyEvaluatedIncludeEscaped

Gets or sets the item include value e.g. for disk-based items this would be the file path.

System_CAPS_pubpropertyItemSpec

Gets or sets the item specification.(Inherited from ITaskItem.)

System_CAPS_pubpropertyMetadataCount

Gets the number of metadata entries associated with the item.(Inherited from ITaskItem.)

System_CAPS_pubpropertyMetadataNames

Gets the names of the metadata entries associated with the item.(Inherited from ITaskItem.)

NameDescription
System_CAPS_pubmethodCloneCustomMetadata()

Gets the collection of custom metadata.(Inherited from ITaskItem.)

System_CAPS_pubmethodCloneCustomMetadataEscaped()

ITaskItem2 implementation which returns a clone of the metadata on this object. Values returned are in their original escaped form.

System_CAPS_pubmethodCopyMetadataTo(ITaskItem)

Copies the custom metadata entries to another item.(Inherited from ITaskItem.)

System_CAPS_pubmethodGetMetadata(String)

Gets the value of the specified metadata entry.(Inherited from ITaskItem.)

System_CAPS_pubmethodGetMetadataValueEscaped(String)

Allows the values of metadata on the item to be queried.

System_CAPS_pubmethodRemoveMetadata(String)

Removes the specified metadata entry from the item.(Inherited from ITaskItem.)

System_CAPS_pubmethodSetMetadata(String, String)

Adds or changes a custom metadata entry to the item.(Inherited from ITaskItem.)

System_CAPS_pubmethodSetMetadataValueLiteral(String, String)

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.

.NET Framework
Available since 4.0
Return to top
Show: