Configuration::Locations Property
.NET Framework (current version)
Gets the locations defined within this Configuration object.
Assembly: System.Configuration (in System.Configuration.dll)
public: property ConfigurationLocationCollection^ Locations { ConfigurationLocationCollection^ get(); }
Property Value
Type: System.Configuration::ConfigurationLocationCollection^A ConfigurationLocationCollection containing the locations defined within this Configuration object.
The Locations property applies only when the HasFile property returns true. If this configuration inherits all of its settings, or no locations are defined, an empty collection is returned.
.NET Framework
Available since 2.0
Available since 2.0
Show: