Udostępnij za pośrednictwem


ProjectRootElement.CreateNewInstance(ProjectRootElement) Method

Definition

Returns a new instance of ProjectRootElement that is affiliated with the same ProjectRootElementCache.

protected:
 override Microsoft::Build::Construction::ProjectElement ^ CreateNewInstance(Microsoft::Build::Construction::ProjectRootElement ^ owner);
protected override Microsoft.Build.Construction.ProjectElement CreateNewInstance (Microsoft.Build.Construction.ProjectRootElement owner);
override this.CreateNewInstance : Microsoft.Build.Construction.ProjectRootElement -> Microsoft.Build.Construction.ProjectElement
Protected Overrides Function CreateNewInstance (owner As ProjectRootElement) As ProjectElement

Parameters

owner
ProjectRootElement

The factory to use for creating the new instance.

Returns

Applies to