BuildProperty.Clone(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution
Creates a shallow or deep clone of this BuildProperty object.
A shallow clone points at the same XML element as the original, so that modifications to the name or value will be reflected in both copies. However, the two copies could have different a finalValue.
A deep clone actually clones the XML element as well, so that the two copies are completely independent of each other.
public:
Microsoft::Build::BuildEngine::BuildProperty ^ Clone(bool deepClone);
public Microsoft.Build.BuildEngine.BuildProperty Clone (bool deepClone);
member this.Clone : bool -> Microsoft.Build.BuildEngine.BuildProperty
Public Function Clone (deepClone As Boolean) As BuildProperty
Parameters
- deepClone
- Boolean
Returns
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