共用方式為


Project.FromProjectRootElement(ProjectRootElement, ProjectOptions) Method

Definition

Create a ProjectRootElement based project.

public:
 static Microsoft::Build::Evaluation::Project ^ FromProjectRootElement(Microsoft::Build::Construction::ProjectRootElement ^ rootElement, Microsoft::Build::Definition::ProjectOptions ^ options);
public static Microsoft.Build.Evaluation.Project FromProjectRootElement (Microsoft.Build.Construction.ProjectRootElement rootElement, Microsoft.Build.Definition.ProjectOptions options);
static member FromProjectRootElement : Microsoft.Build.Construction.ProjectRootElement * Microsoft.Build.Definition.ProjectOptions -> Microsoft.Build.Evaluation.Project
Public Shared Function FromProjectRootElement (rootElement As ProjectRootElement, options As ProjectOptions) As Project

Parameters

rootElement
ProjectRootElement

The ProjectRootElement to evaluate the project from.

options
ProjectOptions

The ProjectOptions to use.

Returns

Applies to