System.Configuration.BaseConfigurationRecord.GetSectionRecord C# (CSharp) Метод

GetSectionRecord() защищенный Метод

protected GetSectionRecord ( string configKey, bool permitErrors ) : SectionRecord
configKey string
permitErrors bool
Результат SectionRecord
        protected SectionRecord GetSectionRecord(string configKey, bool permitErrors) {
            SectionRecord sectionRecord;

            if (_sectionRecords != null) {
                sectionRecord = (SectionRecord) _sectionRecords[configKey];
            }
            else {
                sectionRecord = null;
            }

            if (sectionRecord != null && !permitErrors) {
                sectionRecord.ThrowOnErrors();
            }

            return sectionRecord;
        }
BaseConfigurationRecord