Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITaskItem Members

Defines an MSBuild item that can be consumed and emitted by tasks.

The following tables list the members exposed by the ITaskItem type.

  Name Description
Public property ItemSpec Gets or sets the item specification.
Public property MetadataCount Gets the number of metadata entries associated with the item.
Public property MetadataNames Gets the names of the metadata entries associated with the item.

  Name Description
Public method CloneCustomMetadata Gets the collection of custom metadata.
Public method CopyMetadataTo Copies the custom metadata entries to another item.
Public method GetMetadata Gets the value of the specified metadata entry.
Public method RemoveMetadata Removes the specified metadata entry from the item.
Public method SetMetadata Adds or changes a custom metadata entry to the item.

Community Additions

© 2015 Microsoft