LinkedObjectsFactory.Create 方法

定义

重载

Create(ProjectImportElement, ProjectRootElement, Int32, SdkResult, Boolean)
Create(ProjectItemLink, Project, ProjectItemElement)
Create(ProjectPropertyLink, Project)
Create(ProjectMetadataLink, Object)
Create(ProjectItemDefinitionLink, Project)
Create(UsingTaskParameterGroupElementLink)
Create(ProjectWhenElementLink)
Create(ProjectUsingTaskParameterElementLink)
Create(ProjectUsingTaskElementLink)
Create(ProjectUsingTaskBodyElementLink)
Create(ProjectTaskElementLink)
Create(ProjectTargetElementLink)
Create(ProjectSdkElementLink)
Create(ProjectPropertyGroupElementLink)
Create(ProjectRootElementLink)
Create(ProjectItemDefinitionGroupElementLink)
Create(ProjectOutputElementLink)
Create(ProjectOtherwiseElementLink)
Create(ProjectOnErrorElementLink)
Create(ProjectMetadataElementLink)
Create(ProjectLink)
Create(ProjectItemGroupElementLink)
Create(ProjectItemElementLink)
Create(ProjectPropertyElementLink)
Create(ProjectItemDefinitionElementLink)
Create(ProjectImportGroupElementLink)
Create(ProjectImportElementLink)
Create(ProjectExtensionsElementLink)
Create(ProjectChooseElementLink)

Create(ProjectImportElement, ProjectRootElement, Int32, SdkResult, Boolean)

public:
 Microsoft::Build::Evaluation::ResolvedImport Create(Microsoft::Build::Construction::ProjectImportElement ^ importingElement, Microsoft::Build::Construction::ProjectRootElement ^ importedProject, int versionEvaluated, Microsoft::Build::Framework::SdkResult ^ sdkResult, bool isImported);
public Microsoft.Build.Evaluation.ResolvedImport Create (Microsoft.Build.Construction.ProjectImportElement importingElement, Microsoft.Build.Construction.ProjectRootElement importedProject, int versionEvaluated, Microsoft.Build.Framework.SdkResult sdkResult, bool isImported);
member this.Create : Microsoft.Build.Construction.ProjectImportElement * Microsoft.Build.Construction.ProjectRootElement * int * Microsoft.Build.Framework.SdkResult * bool -> Microsoft.Build.Evaluation.ResolvedImport
Public Function Create (importingElement As ProjectImportElement, importedProject As ProjectRootElement, versionEvaluated As Integer, sdkResult As SdkResult, isImported As Boolean) As ResolvedImport

参数

importingElement
ProjectImportElement
importedProject
ProjectRootElement
versionEvaluated
Int32
sdkResult
SdkResult
isImported
Boolean

返回

ResolvedImport

适用于

产品 Introduced
public Microsoft.Build.Evaluation.ProjectItem Create (Microsoft.Build.ObjectModelRemoting.ProjectItemLink link, Microsoft.Build.Evaluation.Project project = default, Microsoft.Build.Construction.ProjectItemElement xml = default);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectItemLink * Microsoft.Build.Evaluation.Project * Microsoft.Build.Construction.ProjectItemElement -> Microsoft.Build.Evaluation.ProjectItem
Public Function Create (link As ProjectItemLink, Optional project As Project = Nothing, Optional xml As ProjectItemElement = Nothing) As ProjectItem

参数

project
Project

返回

ProjectItem

适用于

产品 Introduced
public Microsoft.Build.Evaluation.ProjectProperty Create (Microsoft.Build.ObjectModelRemoting.ProjectPropertyLink link, Microsoft.Build.Evaluation.Project project = default);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectPropertyLink * Microsoft.Build.Evaluation.Project -> Microsoft.Build.Evaluation.ProjectProperty
Public Function Create (link As ProjectPropertyLink, Optional project As Project = Nothing) As ProjectProperty

参数

project
Project

返回

ProjectProperty

适用于

产品 Introduced
public Microsoft.Build.Evaluation.ProjectMetadata Create (Microsoft.Build.ObjectModelRemoting.ProjectMetadataLink link, object parent = default);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectMetadataLink * obj -> Microsoft.Build.Evaluation.ProjectMetadata
Public Function Create (link As ProjectMetadataLink, Optional parent As Object = Nothing) As ProjectMetadata

参数

parent
Object

返回

ProjectMetadata

适用于

产品 Introduced
public Microsoft.Build.Evaluation.ProjectItemDefinition Create (Microsoft.Build.ObjectModelRemoting.ProjectItemDefinitionLink link, Microsoft.Build.Evaluation.Project project = default);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectItemDefinitionLink * Microsoft.Build.Evaluation.Project -> Microsoft.Build.Evaluation.ProjectItemDefinition
Public Function Create (link As ProjectItemDefinitionLink, Optional project As Project = Nothing) As ProjectItemDefinition

参数

project
Project

返回

ProjectItemDefinition

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::UsingTaskParameterGroupElement ^ Create(Microsoft::Build::ObjectModelRemoting::UsingTaskParameterGroupElementLink ^ link);
public Microsoft.Build.Construction.UsingTaskParameterGroupElement Create (Microsoft.Build.ObjectModelRemoting.UsingTaskParameterGroupElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.UsingTaskParameterGroupElementLink -> Microsoft.Build.Construction.UsingTaskParameterGroupElement
Public Function Create (link As UsingTaskParameterGroupElementLink) As UsingTaskParameterGroupElement

参数

返回

UsingTaskParameterGroupElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectWhenElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectWhenElementLink ^ link);
public Microsoft.Build.Construction.ProjectWhenElement Create (Microsoft.Build.ObjectModelRemoting.ProjectWhenElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectWhenElementLink -> Microsoft.Build.Construction.ProjectWhenElement
Public Function Create (link As ProjectWhenElementLink) As ProjectWhenElement

参数

返回

ProjectWhenElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectUsingTaskParameterElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectUsingTaskParameterElementLink ^ link);
public Microsoft.Build.Construction.ProjectUsingTaskParameterElement Create (Microsoft.Build.ObjectModelRemoting.ProjectUsingTaskParameterElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectUsingTaskParameterElementLink -> Microsoft.Build.Construction.ProjectUsingTaskParameterElement
Public Function Create (link As ProjectUsingTaskParameterElementLink) As ProjectUsingTaskParameterElement

参数

返回

ProjectUsingTaskParameterElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectUsingTaskElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectUsingTaskElementLink ^ link);
public Microsoft.Build.Construction.ProjectUsingTaskElement Create (Microsoft.Build.ObjectModelRemoting.ProjectUsingTaskElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectUsingTaskElementLink -> Microsoft.Build.Construction.ProjectUsingTaskElement
Public Function Create (link As ProjectUsingTaskElementLink) As ProjectUsingTaskElement

参数

返回

ProjectUsingTaskElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectUsingTaskBodyElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectUsingTaskBodyElementLink ^ link);
public Microsoft.Build.Construction.ProjectUsingTaskBodyElement Create (Microsoft.Build.ObjectModelRemoting.ProjectUsingTaskBodyElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectUsingTaskBodyElementLink -> Microsoft.Build.Construction.ProjectUsingTaskBodyElement
Public Function Create (link As ProjectUsingTaskBodyElementLink) As ProjectUsingTaskBodyElement

参数

返回

ProjectUsingTaskBodyElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectTaskElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectTaskElementLink ^ link);
public Microsoft.Build.Construction.ProjectTaskElement Create (Microsoft.Build.ObjectModelRemoting.ProjectTaskElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectTaskElementLink -> Microsoft.Build.Construction.ProjectTaskElement
Public Function Create (link As ProjectTaskElementLink) As ProjectTaskElement

参数

返回

ProjectTaskElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectTargetElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectTargetElementLink ^ link);
public Microsoft.Build.Construction.ProjectTargetElement Create (Microsoft.Build.ObjectModelRemoting.ProjectTargetElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectTargetElementLink -> Microsoft.Build.Construction.ProjectTargetElement
Public Function Create (link As ProjectTargetElementLink) As ProjectTargetElement

参数

返回

ProjectTargetElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectSdkElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectSdkElementLink ^ link);
public Microsoft.Build.Construction.ProjectSdkElement Create (Microsoft.Build.ObjectModelRemoting.ProjectSdkElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectSdkElementLink -> Microsoft.Build.Construction.ProjectSdkElement
Public Function Create (link As ProjectSdkElementLink) As ProjectSdkElement

参数

返回

ProjectSdkElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectPropertyGroupElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectPropertyGroupElementLink ^ link);
public Microsoft.Build.Construction.ProjectPropertyGroupElement Create (Microsoft.Build.ObjectModelRemoting.ProjectPropertyGroupElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectPropertyGroupElementLink -> Microsoft.Build.Construction.ProjectPropertyGroupElement
Public Function Create (link As ProjectPropertyGroupElementLink) As ProjectPropertyGroupElement

参数

返回

ProjectPropertyGroupElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectRootElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectRootElementLink ^ link);
public Microsoft.Build.Construction.ProjectRootElement Create (Microsoft.Build.ObjectModelRemoting.ProjectRootElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectRootElementLink -> Microsoft.Build.Construction.ProjectRootElement
Public Function Create (link As ProjectRootElementLink) As ProjectRootElement

参数

返回

ProjectRootElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectItemDefinitionGroupElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectItemDefinitionGroupElementLink ^ link);
public Microsoft.Build.Construction.ProjectItemDefinitionGroupElement Create (Microsoft.Build.ObjectModelRemoting.ProjectItemDefinitionGroupElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectItemDefinitionGroupElementLink -> Microsoft.Build.Construction.ProjectItemDefinitionGroupElement
Public Function Create (link As ProjectItemDefinitionGroupElementLink) As ProjectItemDefinitionGroupElement

参数

返回

ProjectItemDefinitionGroupElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectOutputElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectOutputElementLink ^ link);
public Microsoft.Build.Construction.ProjectOutputElement Create (Microsoft.Build.ObjectModelRemoting.ProjectOutputElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectOutputElementLink -> Microsoft.Build.Construction.ProjectOutputElement
Public Function Create (link As ProjectOutputElementLink) As ProjectOutputElement

参数

返回

ProjectOutputElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectOtherwiseElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectOtherwiseElementLink ^ link);
public Microsoft.Build.Construction.ProjectOtherwiseElement Create (Microsoft.Build.ObjectModelRemoting.ProjectOtherwiseElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectOtherwiseElementLink -> Microsoft.Build.Construction.ProjectOtherwiseElement
Public Function Create (link As ProjectOtherwiseElementLink) As ProjectOtherwiseElement

参数

返回

ProjectOtherwiseElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectOnErrorElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectOnErrorElementLink ^ link);
public Microsoft.Build.Construction.ProjectOnErrorElement Create (Microsoft.Build.ObjectModelRemoting.ProjectOnErrorElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectOnErrorElementLink -> Microsoft.Build.Construction.ProjectOnErrorElement
Public Function Create (link As ProjectOnErrorElementLink) As ProjectOnErrorElement

参数

返回

ProjectOnErrorElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectMetadataElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectMetadataElementLink ^ link);
public Microsoft.Build.Construction.ProjectMetadataElement Create (Microsoft.Build.ObjectModelRemoting.ProjectMetadataElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectMetadataElementLink -> Microsoft.Build.Construction.ProjectMetadataElement
Public Function Create (link As ProjectMetadataElementLink) As ProjectMetadataElement

参数

返回

ProjectMetadataElement

适用于

产品 Introduced
public:
 Microsoft::Build::Evaluation::Project ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectLink ^ link);
public Microsoft.Build.Evaluation.Project Create (Microsoft.Build.ObjectModelRemoting.ProjectLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectLink -> Microsoft.Build.Evaluation.Project
Public Function Create (link As ProjectLink) As Project

参数

返回

Project

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectItemGroupElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectItemGroupElementLink ^ link);
public Microsoft.Build.Construction.ProjectItemGroupElement Create (Microsoft.Build.ObjectModelRemoting.ProjectItemGroupElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectItemGroupElementLink -> Microsoft.Build.Construction.ProjectItemGroupElement
Public Function Create (link As ProjectItemGroupElementLink) As ProjectItemGroupElement

参数

返回

ProjectItemGroupElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectItemElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectItemElementLink ^ link);
public Microsoft.Build.Construction.ProjectItemElement Create (Microsoft.Build.ObjectModelRemoting.ProjectItemElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectItemElementLink -> Microsoft.Build.Construction.ProjectItemElement
Public Function Create (link As ProjectItemElementLink) As ProjectItemElement

参数

返回

ProjectItemElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectPropertyElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectPropertyElementLink ^ link);
public Microsoft.Build.Construction.ProjectPropertyElement Create (Microsoft.Build.ObjectModelRemoting.ProjectPropertyElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectPropertyElementLink -> Microsoft.Build.Construction.ProjectPropertyElement
Public Function Create (link As ProjectPropertyElementLink) As ProjectPropertyElement

参数

返回

ProjectPropertyElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectItemDefinitionElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectItemDefinitionElementLink ^ link);
public Microsoft.Build.Construction.ProjectItemDefinitionElement Create (Microsoft.Build.ObjectModelRemoting.ProjectItemDefinitionElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectItemDefinitionElementLink -> Microsoft.Build.Construction.ProjectItemDefinitionElement
Public Function Create (link As ProjectItemDefinitionElementLink) As ProjectItemDefinitionElement

参数

返回

ProjectItemDefinitionElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectImportGroupElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectImportGroupElementLink ^ link);
public Microsoft.Build.Construction.ProjectImportGroupElement Create (Microsoft.Build.ObjectModelRemoting.ProjectImportGroupElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectImportGroupElementLink -> Microsoft.Build.Construction.ProjectImportGroupElement
Public Function Create (link As ProjectImportGroupElementLink) As ProjectImportGroupElement

参数

返回

ProjectImportGroupElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectImportElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectImportElementLink ^ link);
public Microsoft.Build.Construction.ProjectImportElement Create (Microsoft.Build.ObjectModelRemoting.ProjectImportElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectImportElementLink -> Microsoft.Build.Construction.ProjectImportElement
Public Function Create (link As ProjectImportElementLink) As ProjectImportElement

参数

返回

ProjectImportElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectExtensionsElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectExtensionsElementLink ^ link);
public Microsoft.Build.Construction.ProjectExtensionsElement Create (Microsoft.Build.ObjectModelRemoting.ProjectExtensionsElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectExtensionsElementLink -> Microsoft.Build.Construction.ProjectExtensionsElement
Public Function Create (link As ProjectExtensionsElementLink) As ProjectExtensionsElement

参数

返回

ProjectExtensionsElement

适用于

产品 Introduced
public:
 Microsoft::Build::Construction::ProjectChooseElement ^ Create(Microsoft::Build::ObjectModelRemoting::ProjectChooseElementLink ^ link);
public Microsoft.Build.Construction.ProjectChooseElement Create (Microsoft.Build.ObjectModelRemoting.ProjectChooseElementLink link);
member this.Create : Microsoft.Build.ObjectModelRemoting.ProjectChooseElementLink -> Microsoft.Build.Construction.ProjectChooseElement
Public Function Create (link As ProjectChooseElementLink) As ProjectChooseElement

参数

返回

ProjectChooseElement

适用于

产品 Introduced