ProjectSdkElement.CreateNewInstance(ProjectRootElement) 方法

定义

返回此相同类型的新实例。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

参数

owner
ProjectRootElement

用于创建新实例的工厂。The factory to use for creating the new instance.

返回

ProjectElement

适用于