BuildTask.GetParameterValue(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

This retrieves an arbitrary attribute from the task element. These are attributes that the project author has placed on the task element that have no meaning to MSBuild other than that they get passed to the task itself as arguments.

public:
 System::String ^ GetParameterValue(System::String ^ attributeName);
public string GetParameterValue (string attributeName);
member this.GetParameterValue : string -> string
Public Function GetParameterValue (attributeName As String) As String

Parameters

attributeName
String

The parameter name.

Returns

The value of the specified task parameter.

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