Partager via


BuildPropertyGroup.SetImportedPropertyGroupCondition(String) Method

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Allows setting the condition for imported property groups. Changes will not be persisted.

public:
 void SetImportedPropertyGroupCondition(System::String ^ condition);
public void SetImportedPropertyGroupCondition (string condition);
member this.SetImportedPropertyGroupCondition : string -> unit
Public Sub SetImportedPropertyGroupCondition (condition As String)

Parameters

condition
String

The condition to add to the imported PropertyGroup.

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to