共用方式為


UsingTask.TaskName 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 task name

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

Property Value

The TaskName 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