ProjectItemDefinitionGroupElement.CreateNewInstance 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:
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.