Partilhar via


ProjectInstance.UpdateStateFrom(ProjectInstance) Method

Definition

Replaces the project state (GlobalProperties, Properties and Items) with that from the ProjectInstance provided.

public:
 void UpdateStateFrom(Microsoft::Build::Execution::ProjectInstance ^ projectState);
public void UpdateStateFrom (Microsoft.Build.Execution.ProjectInstance projectState);
member this.UpdateStateFrom : Microsoft.Build.Execution.ProjectInstance -> unit
Public Sub UpdateStateFrom (projectState As ProjectInstance)

Parameters

projectState
ProjectInstance

ProjectInstance with the state to use.

Applies to