Udostępnij za pośrednictwem


ProjectMetadataInstance.DeepClone Method

Definition

Deep clone the metadata Strings are immutable (copy on write) so there is no work to do. Allows built-in metadata names, as they are still valid on the new metadatum.

public:
 virtual Microsoft::Build::Execution::ProjectMetadataInstance ^ DeepClone();
public:
 Microsoft::Build::Execution::ProjectMetadataInstance ^ DeepClone();
public Microsoft.Build.Execution.ProjectMetadataInstance DeepClone ();
abstract member DeepClone : unit -> Microsoft.Build.Execution.ProjectMetadataInstance
override this.DeepClone : unit -> Microsoft.Build.Execution.ProjectMetadataInstance
member this.DeepClone : unit -> Microsoft.Build.Execution.ProjectMetadataInstance
Public Function DeepClone () As ProjectMetadataInstance

Returns

A new metadata instance.

Applies to