Freigeben über


Configuration.Locations Eigenschaft

Definition

Ruft die in diesem Configuration Objekt definierten Speicherorte ab.

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

Eigenschaftswert

A ConfigurationLocationCollection containing the locations defined within this Configuration object.

Hinweise

Die Locations Eigenschaft gilt nur, wenn die HasFile Eigenschaft zurückgegeben wird true. Wenn diese Konfiguration alle Einstellungen erbt oder keine Speicherorte definiert sind, wird eine leere Auflistung zurückgegeben.

Gilt für: