BuildItem.RemoveMetadata(String) Method

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution Removes the specified metadata on the item.

public void RemoveMetadata(string metadataName);

Parameters

metadataName
String

The item metadata name.

Remarks

Removal of well-known metadata is not allowed.

Applies to