Partager via


ProjectTaskElement.SetParameter(String, String) Method

Definition

Adds (or modifies the value of) a parameter on this task

public:
 void SetParameter(System::String ^ name, System::String ^ unevaluatedValue);
public void SetParameter (string name, string unevaluatedValue);
member this.SetParameter : string * string -> unit
Public Sub SetParameter (name As String, unevaluatedValue As String)

Parameters

name
String

The name of the parameter to update or add.

unevaluatedValue
String

The value of the parameter.

Remarks

Updates the parameter to the specified value if a parameter by that name exists in the task. Otherwise, creates a parameter with the specified name and value, and adds it to the task.

Applies to