Configuration.Locations Configuration.Locations Configuration.Locations Configuration.Locations Property

定义

获取此 Configuration 对象内定义的位置。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

属性值

注解

LocationsHasFile属性返回true时,属性才适用。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.

适用于