Project.SetGlobalProperty(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.
Change a global property after the project has been evaluated. If the value changes, this makes the project require reevaluation. If the value changes, returns true, otherwise false.
public:
bool SetGlobalProperty(System::String ^ name, System::String ^ escapedValue);
public bool SetGlobalProperty (string name, string escapedValue);
member this.SetGlobalProperty : string * string -> bool
Public Function SetGlobalProperty (name As String, escapedValue As String) As Boolean
Parameters
- name
- String
The name of the global property to set.
- escapedValue
- String
The new value of the global property.
Returns
true
if the value changes; otherwise, false
.