BuildPropertyGroup.SetProperty Method

Definition

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.

Applies to