Share via


BuildItem.CopyCustomMetadataTo(BuildItem) 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

Copies all custom attributes to given item.

public:
 void CopyCustomMetadataTo(Microsoft::Build::BuildEngine::BuildItem ^ destinationItem);
public void CopyCustomMetadataTo (Microsoft.Build.BuildEngine.BuildItem destinationItem);
member this.CopyCustomMetadataTo : Microsoft.Build.BuildEngine.BuildItem -> unit
Public Sub CopyCustomMetadataTo (destinationItem As BuildItem)

Parameters

destinationItem
BuildItem

BuildItem to copy custom attributes to

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to