System.Configuration.ConfigurationSectionGroupCollection.Clear C# (CSharp) Метод

Clear() публичный Метод

public Clear ( ) : void
Результат void
        public void Clear() {
            VerifyIsAttachedToConfigRecord();

            //
            // If this is the root section group, do not require the location section to be written
            // to the file.
            //
            if (_configSectionGroup.IsRoot) {
                _configRecord.RemoveLocationWriteRequirement();
            }
            
            string[] allKeys = BaseGetAllKeys();
            foreach (string key in allKeys) {
                Remove(key);
            }
        }