共用方式為


UsingTask.Condition Property

Definition

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

The condition string for this UsingTask

public:
 property System::String ^ Condition { System::String ^ get(); };
public string Condition { get; }
member this.Condition : string
Public ReadOnly Property Condition As String

Property Value

The Condition attribute value of the UsingTask element.

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