在Framework4.0中,此"ConfigurationSettings.AppSettings"的替换代码是什么 [英] what is the replacing code for this 'ConfigurationSettings.AppSettings' in framework4.0

查看:101
本文介绍了在Framework4.0中,此"ConfigurationSettings.AppSettings"的替换代码是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请向我建议当前使用框架1.1的解决方案.

please suggest me the solution for this currently using framework 1.1

推荐答案

使用ConfigurationManager.AppSettings.您可能必须添加对System.Configuration程序集的引用.
Use ConfigurationManager.AppSettings. You may have to add a reference to System.Configuration assembly.


ConfigurationManager.AppSettings
ConfigurationManager.AppSettings


ConfigurationManager类为AppSettings提供了一个属性.
ConfigurationManager class provides a property for AppSettings.


这篇关于在Framework4.0中,此"ConfigurationSettings.AppSettings"的替换代码是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆