ProjectPropertyGroupElement.SetProperty(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.
Convenience method that picks a location based on a heuristic: If there is an existing property with the same name and no condition, updates its value. Otherwise it adds a new property after the last property.
public:
Microsoft::Build::Construction::ProjectPropertyElement ^ SetProperty(System::String ^ name, System::String ^ unevaluatedValue);
public Microsoft.Build.Construction.ProjectPropertyElement SetProperty (string name, string unevaluatedValue);
member this.SetProperty : string * string -> Microsoft.Build.Construction.ProjectPropertyElement
Public Function SetProperty (name As String, unevaluatedValue As String) As ProjectPropertyElement
Parameters
- name
- String
The name of the property to be updated.
- unevaluatedValue
- String
The new property value.
Returns
The updated property.