다음을 통해 공유


Project.SetGlobalProperty(String, String) Method

Definition

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.

Applies to