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
- factory
Type: Microsoft.Build.Construction.ProjectRootElement
Return Value
Type: Microsoft.Build.Construction.ProjectElement
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.