[ConfigurationProperty("", IsDefaultCollection = true)]
        public KeyValueConfigurationCollection ControllerProperties
        {
            get
            {
                return this[propertyElement] as KeyValueConfigurationCollection;
            }
        }

解决方案 »

  1.   

    更正下:[ConfigurationProperty("", IsDefaultCollection = true)]
    public KeyValueConfigurationCollection ControllerProperties
            {
                get
                {
                    return this[propertyElement] as  KeyValueConfigurationCollection;
                }
            }
      

  2.   

    有没有个高手帮帮忙~~~![ConfigurationProperty("", IsDefaultCollection = true)]
    public KeyValueConfigurationCollection ControllerProperties
      {
      get
      {
      return this[propertyElement] as KeyValueConfigurationCollection;
      }
      }
      

  3.   

    this[propertyElement]这种访问形式是索引器ConfigurationProperty是特性,Attribute你还想知道什么
      

  4.   

    [ConfigurationProperty("", IsDefaultCollection = true)]这种用法的讲解
      

  5.   

    [ConfigurationProperty("", IsDefaultCollection = true)]
    其实不用管他到底是什么,怎么来的,去向哪里。
    知道怎么用就可以了!