Share via


BuildItem.Clone Method

Creates a shallow copy of the BuildItem.

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.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
Public Function Clone As BuildItem
public BuildItem Clone()
public:
BuildItem^ Clone()
member Clone : unit -> BuildItem
public function Clone() : BuildItem

Return Value

Type: Microsoft.Build.BuildEngine.BuildItem
A copy of the BuildItem.

.NET Framework Security

See Also

Reference

BuildItem Class

Microsoft.Build.BuildEngine Namespace