zoukankan      html  css  js  c++  java
  • .net配置文件内容结构

     1 <configuration>
     2     <configsections>
     3         <section name="SectionOne" type=""/>
     4         <section name="SectionSecond" type=""/>
     5         <section name="SectionThree" type=""/>
     6         <section name="SectionFour" type=""/>
     7         <sectiongroup name="SectionGroupOne" type="">
     8             <section name="Section1" type=""/>
     9             <sectiongroup name="SectionGroupSub" type="">
    10                 <section name="SectionSub" type=""/>
    11           </sectiongroup>    
    12         </sectiongroup>    
    13     </configsections>
    14     
    15     <!--Section只有属性-->
    16     <SectionOne SOProperty1="" SOProperty2="">
    17     </SectionOne>
    18     
    19     <!--Section有属性,有1个子节点-->
    20     <SectionTwo STProperty1="" STProperty2="">
    21         <STElement STEProperty1="" STEProperyt2=""/>
    22     </SectionTwo>
    23     
    24     <!--Section有属性,有多个不同的子节点-->
    25     <SectionThree STHProperty1="" STHProperty2="">
    26         <STHElementOne STHEOneProperty1="" STHEOneProperty2=""/>
    27         <STHElementTwo STHETwoProperty1="" STHETwoProperty2=""/>
    28     </SectionThree>
    29     
    30     <!--Section有属性,有多个相同的子节点-->
    31     <SectionFour SFProperty1="" SFProperty2="">
    32         <SFElement SFEProperty1="" SFEProperty2=""/>
    33         <SFElement SFEProperty1="" SFEProperty2=""/>
    34     </SectionFour>
    35     
    36     <!--SectionGroup无属性,可嵌套SectionGroup-->
    37     <SectionGroupOne>
    38         <Section1 S1Property1="" S1Property2=""></Section1>
    39         <SectionGroupSub>
    40             <SectionSub SSubProperty1="" SSubProperty2=""></SectionSub>
    41         </SectionGroupSub>
    42     </SectionGroupOne>
    43 
    44 </configuration>
  • 相关阅读:
    iOS学习之MVC,MVVM,MVP模式优缺点
    iOS学习之单例模式
    iOS学习之观察者模式
    iOS学习之设计模式
    iOS学习之SKTagView的使用
    iOS学习之cocoaPods
    iOS学习之git的使用
    iOS学习之block
    [学习笔记]一个实例理解Lingo的灵敏性分析
    爬虫实例(二)——爬取某宝评论
  • 原文地址:https://www.cnblogs.com/zhiheyang/p/2854068.html
Copyright © 2011-2022 走看看