共用方式為


BuildTask.AddOutputProperty(String, 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

Adds an Output tag to this task element

public:
 void AddOutputProperty(System::String ^ taskParameter, System::String ^ propertyName);
public void AddOutputProperty (string taskParameter, string propertyName);
member this.AddOutputProperty : string * string -> unit
Public Sub AddOutputProperty (taskParameter As String, propertyName As String)

Parameters

taskParameter
String
propertyName
String

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