ProjectInstance.DeepCopy Method

Definition

Creates an independent, deep clone of this project and everything in it. Useful for compiling a single file or for keeping build results between builds.

Overloads

DeepCopy()

Create an independent, deep clone of this object and everything in it. Useful for compiling a single file; or for keeping build results between builds. Clone has the same mutability as the original.

DeepCopy(Boolean)

Create an independent, deep clone of this object and everything in it, with specified mutability. Useful for compiling a single file; or for keeping build results between builds.

DeepCopy()

Create an independent, deep clone of this object and everything in it. Useful for compiling a single file; or for keeping build results between builds. Clone has the same mutability as the original.

public:
 Microsoft::Build::Execution::ProjectInstance ^ DeepCopy();
public Microsoft.Build.Execution.ProjectInstance DeepCopy ();
member this.DeepCopy : unit -> Microsoft.Build.Execution.ProjectInstance
Public Function DeepCopy () As ProjectInstance

Returns

Creates an independent, deep clone of this project.

Applies to

DeepCopy(Boolean)

Create an independent, deep clone of this object and everything in it, with specified mutability. Useful for compiling a single file; or for keeping build results between builds.

public:
 Microsoft::Build::Execution::ProjectInstance ^ DeepCopy(bool isImmutable);
public Microsoft.Build.Execution.ProjectInstance DeepCopy (bool isImmutable);
member this.DeepCopy : bool -> Microsoft.Build.Execution.ProjectInstance
Public Function DeepCopy (isImmutable As Boolean) As ProjectInstance

Parameters

isImmutable
Boolean

Flag indicating clone mutability.

Returns

An independent, deep clone of this project, with specified mutability.

Applies to