Code

 

第一个参数IniOper就是一个类对象作为参数传递

下面是调用

            IniOper = IniStructure.ReadIni(this.GetConfigPath()); //返回一个类的对象

            //添加WebConfig.ini新节点
            if ((new IniStructure()).AddIniCategory(IniOper, this.GetConfigPath(), "meeting") == true)
            {
                //更新后重新读取ini文件
                IniOper = IniStructure.ReadIni(this.GetConfigPath());
            }

 

就像用户注册一样 最后传递的是一个类的对象 所有的用户信息都包括在类的对象中