Configuration.Locations Egenskap

Definition

Hämtar de platser som definierats i det här Configuration objektet.

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

Egenskapsvärde

En ConfigurationLocationCollection som innehåller de platser som definierats i det här Configuration objektet.

Kommentarer

Egenskapen Locations gäller endast när egenskapen HasFile returnerar true. Om den här konfigurationen ärver alla inställningar, eller om inga platser har definierats, returneras en tom samling.

Gäller för