TaskItem Methods
Assembly: Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)
| Name | Description | |
|---|---|---|
![]() | CloneCustomMetadata() | Clones the collection of custom metadata for the item specification. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
![]() | CopyMetadataTo(ITaskItem^) | Copies the item-specification metadata to the specified destination task item. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
![]() | CreateObjRef(Type^) | (Inherited from MarshalByRefObject.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | GetMetadata(String^) | Retrieves the specified metadata on the item. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
![]() | GetType() | (Inherited from Object.) |
![]() | InitializeLifetimeService() | When overridden in a derived class, gives task items infinite lease time. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Overrides MarshalByRefObject::InitializeLifetimeService().) |
![]() | RemoveMetadata(String^) | Removes the specified metadata on the item. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
![]() | SetMetadata(String^, String^) | Sets or modifies the value of the specified metadata on the item. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
![]() | ToString() | Gets the item specification. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | ITaskItem2::CloneCustomMetadataEscaped() | ITaskItem2 implementation which returns a clone of the metadata on this object. Values returned are in their original escaped form. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
![]() ![]() | ITaskItem2::GetMetadataValueEscaped(String^) | ITaskItem2 implementation which allows the values of metadata on the item to be queried. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
![]() ![]() | ITaskItem2::SetMetadataValueLiteral(String^, String^) | ITaskItem2 implementation which 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. MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |


