Compartilhar via


ProjectInstance.FromProjectRootElement Method

Definition

Create a ProjectRootElement based ProjectInstance.

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

Parameters

rootElement
ProjectRootElement

The ProjectRootElement to evaluate the ProjectInstance from.

options
ProjectOptions

The ProjectOptions to use.

Returns

Applies to