次の方法で共有


ProjectElement.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:
 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.

Returns

Applies to