Freigeben über


ProjectExtensionsElement.CreateNewInstance(ProjectRootElement) Method

Definition

Returns a new instance of this same type. Any properties that cannot be set after creation should be set to copies of values as set for this instance.

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