ProjectElementContainer.DeepClone 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.
Returns a clone of this project element and all its children.
protected public:
virtual Microsoft::Build::Construction::ProjectElementContainer ^ DeepClone(Microsoft::Build::Construction::ProjectRootElement ^ factory, Microsoft::Build::Construction::ProjectElementContainer ^ parent);
protected internal virtual Microsoft.Build.Construction.ProjectElementContainer DeepClone (Microsoft.Build.Construction.ProjectRootElement factory, Microsoft.Build.Construction.ProjectElementContainer parent);
abstract member DeepClone : Microsoft.Build.Construction.ProjectRootElement * Microsoft.Build.Construction.ProjectElementContainer -> Microsoft.Build.Construction.ProjectElementContainer
override this.DeepClone : Microsoft.Build.Construction.ProjectRootElement * Microsoft.Build.Construction.ProjectElementContainer -> Microsoft.Build.Construction.ProjectElementContainer
Protected Friend Overridable Function DeepClone (factory As ProjectRootElement, parent As ProjectElementContainer) As ProjectElementContainer
Parameters
- factory
- ProjectRootElement
The factory to use for creating the new instance.
- parent
- ProjectElementContainer
The parent to append the cloned element to as a child.
Returns
The cloned element.