- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
在.NET框架下使用自定义配置设置(Use the custom configuration settings in the.NET framework)
在.NET框架下使用自定义配置设置(Use the custom configuration settings in the.NET framework) Use the custom configuration settings in the.NET framework Release time: 2007-04-30 08:00:00 source: Author: Click: 222 The.NET framework of the XML configuration to make configuration settings based on the familiar. It also provides the necessary means to access these settings through the collection class (Collection, classes). You can access the actual configuration data through a static ConfigurationSettings class. The class also provides a GetConfig () method that returns an object to a suitable set. In this article, Ill demonstrate three methods that can be used to access and store configuration information. The application configuration data is stored in the App.config file and defined by the configSections node. Each section has a type property definition. The 3 types Ill discuss here are NameValueSectionHandler, SingleTagSectionHandler, and DictionarySectionHandler. You can define a section group with a sectionGroup element. The following is an example of the configuration section definition: section name= MyCustomSection Type= System.Configuration.NameValueSectionHandler / It is recommended to use type=, System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561Array34e08Array The section group is an individual configuration section embedded with a sectionGroup element. The following is an example of a set of sections: sectionGroup, name=, CustomGroup section name= Custom1 Type= System.Configuration.NameValueSectionHandler / section, name=, Custom2, type=, System.Configuration.NameValueSectionHandler / /sectionGroup Finally, the configuration section you specify will be used to construct custom XML nodes that store configuration data. To add data to the configuration section, simply put the configuration section as a XML node and add the Collection data with the add node. The following example is a NameValueSec
您可能关注的文档
- 口才练习素材(Eloquence exercise material).doc
- 古今图书集成(Integration of ancient books and books).doc
- 古代复姓大全(The ancient surname Daquan).doc
- 古今手表品牌之分类与等级(Classification and classification of ancient and modern watch brands).doc
- 古代年龄段称谓(Title of ancient age).doc
- 古代汉语--音韵(Ancient Chinese Phonology).doc
- 古代汉语模拟题一(Ancient Chinese simulation questions).doc
- 古代汉语答案(Ancient Chinese answer).doc
- 古代语文教育(Ancient Chinese Education).doc
- 古代诗歌鉴赏方法总结(A summary of ancient poetry appreciation methods).doc
- 土木工程概论论文(Introduction to civil engineering).doc
- 在Source Insight集成Astyle(在Source Insight集成风格).doc
- 在C#中实现3层架构(Implementing the 3 tier architecture in C#).doc
- 在EXCEL中使用VBA代码选择区域(In EXCEL, select the area using the VBA code).doc
- 在UltraEdit使用技巧及其中的正则表达式(The use of skills and regular expressions in UltraEdit).doc
- 土豆饼的做法.土豆的九种高档做法(The recipe for potatoes. Nine top practices for potatoes).doc
- 在WINDOWS XP SP2系统中使用OPC的DCOM配置方法(Using OPC's DCOM configuration method in WINDOWS XP SP2 systems).doc
- 在主动参与和学习中发展道德能力 ——小学思想品德教材(Developing moral ability in active participation and learning -- teaching material of Ideological and moral education in primary school).doc
- 在乡镇加强机关作风效能建设、优化发展环境大会上的讲话(Speech at the conference on strengthening the work style efficiency construction and optimizing the development environment in villages and towns).doc
- 在优化发展环境机关效能监察工作动员会上的讲话(Speech at the mobilization meeting for optimizing environmental efficiency supervision).doc
文档评论(0)