ProjectElement.CreateNewInstance(ProjectRootElement) 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 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:
abstract Microsoft::Build::Construction::ProjectElement ^ CreateNewInstance(Microsoft::Build::Construction::ProjectRootElement ^ owner);
protected abstract Microsoft.Build.Construction.ProjectElement CreateNewInstance (Microsoft.Build.Construction.ProjectRootElement owner);
abstract member CreateNewInstance : Microsoft.Build.Construction.ProjectRootElement -> Microsoft.Build.Construction.ProjectElement
Protected MustOverride Function CreateNewInstance (owner As ProjectRootElement) As ProjectElement
Parameters
- owner
- ProjectRootElement
The factory to use for creating the new instance.