System.Configuration.MgmtConfigurationRecord.GetLocationCollection C# (CSharp) Method

GetLocationCollection() private method

private GetLocationCollection ( Configuration config ) : ConfigurationLocationCollection
config Configuration
return ConfigurationLocationCollection
        internal ConfigurationLocationCollection GetLocationCollection(Configuration config) {
            ArrayList locations = new ArrayList();

            // Now add the other empty location sections we recorded
            if (_locationTags != null) {
                foreach (string subPath in _locationTags.Values) {
                    locations.Add(new ConfigurationLocation(config, subPath));
                }
            }

            return new ConfigurationLocationCollection(locations);
        }