LinkedObjectsFactory.Create 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.
Overloads
Create(ProjectImportElement, ProjectRootElement, Int32, SdkResult, Boolean)
- Source:
- LinkedObjectFactory.cs
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
Parameters
- importingElement
- ProjectImportElement
- importedProject
- ProjectRootElement
- versionEvaluated
- Int32
- sdkResult
- SdkResult
- isImported
- Boolean
Returns
Applies to
Create(ProjectItemLink, Project, ProjectItemElement)
- Source:
- LinkedObjectFactory.cs
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
Parameters
- link
- ProjectItemLink
- project
- Project
Returns
Applies to
Create(ProjectPropertyLink, Project)
- Source:
- LinkedObjectFactory.cs
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
Parameters
- link
- ProjectPropertyLink
- project
- Project
Returns
Applies to
Create(ProjectMetadataLink, Object)
- Source:
- LinkedObjectFactory.cs
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
Parameters
- link
- ProjectMetadataLink
- parent
- Object
Returns
Applies to
Create(ProjectItemDefinitionLink, Project)
- Source:
- LinkedObjectFactory.cs
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
Parameters
- project
- Project
Returns
Applies to
Create(UsingTaskParameterGroupElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectWhenElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectUsingTaskParameterElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectUsingTaskElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectUsingTaskBodyElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectTaskElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectTargetElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectSdkElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectPropertyGroupElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectRootElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectItemDefinitionGroupElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectOutputElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectOtherwiseElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectOnErrorElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectMetadataElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
- link
- ProjectLink
Returns
Applies to
Create(ProjectItemGroupElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectItemElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectPropertyElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectItemDefinitionElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectImportGroupElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectImportElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectExtensionsElementLink)
- Source:
- LinkedObjectFactory.cs
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
Parameters
Returns
Applies to
Create(ProjectChooseElementLink)
- Source:
- LinkedObjectFactory.cs
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