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

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

public GetSection ( string configKey ) : object
configKey string
Результат object
        public object GetSection(string configKey) {
#if DBG
            // On debug builds, the config system depends on system.diagnostics,
            // so we must always return a valid result and never throw.
            if (configKey == "system.diagnostics" && !ClassFlags[ClassIgnoreLocalErrors]) {
                return GetSection(configKey, true, true);
            }
            else {
                return GetSection(configKey, false, true);
            }
#else

            return GetSection(configKey, false, true);
#endif
        }

Same methods

BaseConfigurationRecord::GetSection ( string configKey, bool getLkg, bool checkPermission ) : object
BaseConfigurationRecord