BuildTask.SetParameterValue 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.
Sets the value of the specified task parameter.
Overloads
SetParameterValue(String, String) |
Sets the value of the specified task parameter. |
SetParameterValue(String, String, Boolean) |
Sets the value of the specified task parameter. |
SetParameterValue(String, String)
Sets the value of the specified task parameter.
public:
void SetParameterValue(System::String ^ parameterName, System::String ^ parameterValue);
public void SetParameterValue (string parameterName, string parameterValue);
member this.SetParameterValue : string * string -> unit
Public Sub SetParameterValue (parameterName As String, parameterValue As String)
Parameters
- parameterName
- String
The parameter name to set.
- parameterValue
- String
The value to assign to parameterName
.
Applies to
SetParameterValue(String, String, Boolean)
Sets the value of the specified task parameter.
public:
void SetParameterValue(System::String ^ parameterName, System::String ^ parameterValue, bool treatParameterValueAsLiteral);
public void SetParameterValue (string parameterName, string parameterValue, bool treatParameterValueAsLiteral);
member this.SetParameterValue : string * string * bool -> unit
Public Sub SetParameterValue (parameterName As String, parameterValue As String, treatParameterValueAsLiteral As Boolean)
Parameters
- parameterName
- String
The parameter name to set.
- parameterValue
- String
The value to assign to parameterName
.
- treatParameterValueAsLiteral
- Boolean
true
to treat parameterValue
as a literal value; otherwise, false
.