ProjectPropertyGroupElement.AddProperty(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: Adds a new property after the last property in this property group.
public:
Microsoft::Build::Construction::ProjectPropertyElement ^ AddProperty(System::String ^ name, System::String ^ unevaluatedValue);
public Microsoft.Build.Construction.ProjectPropertyElement AddProperty (string name, string unevaluatedValue);
member this.AddProperty : string * string -> Microsoft.Build.Construction.ProjectPropertyElement
Public Function AddProperty (name As String, unevaluatedValue As String) As ProjectPropertyElement
Parameters
- name
- String
The property name.
- unevaluatedValue
- String
The property value.
Returns
The new property.
Remarks
This convenience method picks a location in the MSBuild DOM based on a heuristic.