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(System::String ^ metadataName);
public void RemoveMetadata (string metadataName);
member this.RemoveMetadata : string -> unit
Public Sub RemoveMetadata (metadataName As String)

Parameters

metadataName
String

The item metadata name.

Remarks

Removal of well-known metadata is not allowed.

Applies to