internal void ClearInternal(bool useSeedIfAvailble) {
ArrayList removeList = new ArrayList();
foreach (DictionaryEntry de in internalDictionary) {
if ((((ConfigurationValueFlags)de.Value & ConfigurationValueFlags.Inherited) == 0)
|| _bExceptionList == true) {
removeList.Add(de.Key);
}
}
foreach (object removeKey in removeList) {
internalDictionary.Remove(removeKey);
internalArraylist.Remove(removeKey);
}
// Clearing an Exception list really means revert to parent
if (useSeedIfAvailble && !String.IsNullOrEmpty(SeedList)) {
string[] Keys = SeedList.Split(new char[] { ',' });
foreach (string key in Keys) {
Add(key, ConfigurationValueFlags.Inherited); //
}
}
_bModified = true;
}