ProjectTaskElement.SetParameter(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.