获取子节
Apq.Cfg.ICfgSection GetSection(string key);
key System.String
key
子节键名
ICfgSection 子节对象
var dbSection = cfg.GetSection("Database"); var connSection = dbSection.GetSection("Connection"); // 等同于 cfg.GetSection("Database:Connection")