Configuration.Locations Property

 

Gets the locations defined within this Configuration object.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

Public ReadOnly Property Locations As ConfigurationLocationCollection

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
Return to top
Show: