Share via


ProjectElement.Clone Method (ProjectRootElement)

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Protected Friend Overridable Function Clone ( _
    factory As ProjectRootElement _
) As ProjectElement
protected internal virtual ProjectElement Clone(
    ProjectRootElement factory
)
protected public:
virtual ProjectElement^ Clone(
    ProjectRootElement^ factory
)
abstract Clone : 
        factory:ProjectRootElement -> ProjectElement  
override Clone : 
        factory:ProjectRootElement -> ProjectElement
function Clone(
    factory : ProjectRootElement
) : ProjectElement

Parameters

Return Value

Type: Microsoft.Build.Construction.ProjectElement

.NET Framework Security

See Also

Reference

ProjectElement Class

Clone Overload

Microsoft.Build.Construction Namespace