Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Configuration::Locations Property

 

Gets the locations defined within this Configuration object.

Namespace:   System.Configuration
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
Return to top
Show: