ProjectCollection.GlobalProperties Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the read-only default global properties for all projects in this collection.

Namespace:   Microsoft.Build.Evaluation
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

public IDictionary<string, string> GlobalProperties { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, String>

Returns the read-only default global properties for all projects in this collection.

Use SetGlobalProperty and RemoveGlobalProperty to add, set, and remove global properties.

.NET Framework
Available since 4.0
Return to top
Show: