BuildPropertyGroup.SetProperty 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 BuildProperty with the specified Name.
Overloads
SetProperty(String, String) |
Sets the Value of the BuildProperty with the specified Name. |
SetProperty(String, String, Boolean) |
Sets the Value of the BuildProperty with the specified Name. |
SetProperty(String, String)
Sets the Value of the BuildProperty with the specified Name.
public:
void SetProperty(System::String ^ propertyName, System::String ^ propertyValue);
public void SetProperty (string propertyName, string propertyValue);
member this.SetProperty : string * string -> unit
Public Sub SetProperty (propertyName As String, propertyValue As String)
Parameters
- propertyName
- String
The Name property value of the BuildProperty to set.
- propertyValue
- String
The Value property value to assign the BuildProperty.
Applies to
SetProperty(String, String, Boolean)
Sets the Value of the BuildProperty with the specified Name.
public:
void SetProperty(System::String ^ propertyName, System::String ^ propertyValue, bool treatPropertyValueAsLiteral);
public void SetProperty (string propertyName, string propertyValue, bool treatPropertyValueAsLiteral);
member this.SetProperty : string * string * bool -> unit
Public Sub SetProperty (propertyName As String, propertyValue As String, treatPropertyValueAsLiteral As Boolean)
Parameters
- propertyName
- String
The Name property value of the BuildProperty to set.
- propertyValue
- String
The Value property value to assign the BuildProperty.
- treatPropertyValueAsLiteral
- Boolean
true
to treat the propertyValue
parameter as a literal value; otherwise, false
.