Share via


ProjectCollection.SetGlobalProperty(String, String) Method

Definition

Set a global property at the collection-level, and on all projects in the project collection.

public:
 void SetGlobalProperty(System::String ^ name, System::String ^ value);
public void SetGlobalProperty (string name, string value);
member this.SetGlobalProperty : string * string -> unit
Public Sub SetGlobalProperty (name As String, value As String)

Parameters

name
String

The name of the default global property to be added or set.

value
String

The new value of the default global property.

Remarks

If no matching property is found, the property is created and initialized with the given value.

Applies to