Export (0) Print
Expand All

TaskItem.SetMetadata Method

Sets or modifies the value of the specified metadata on the item.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.v4.0 (in Microsoft.Build.Utilities.v4.0.dll)

public void SetMetadata(
	string metadataName,
	string metadataValue
)

Parameters

metadataName
Type: System.String

The name of metadata to set or modify.

metadataValue
Type: System.String

The new value of metadata.

Implements

ITaskItem.SetMetadata(String, String)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft