Edit

Share via


Configuration.Locations Property

Definition

Gets the locations defined within this Configuration object.

public:
 property System::Configuration::ConfigurationLocationCollection ^ Locations { System::Configuration::ConfigurationLocationCollection ^ get(); };
public System.Configuration.ConfigurationLocationCollection Locations { get; }
member this.Locations : System.Configuration.ConfigurationLocationCollection
Public ReadOnly Property Locations As ConfigurationLocationCollection

Property Value

A ConfigurationLocationCollection containing the locations defined within this Configuration object.

Remarks

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.

Applies to