コード例 #1
0
        public KeyValuePairConfigurationElement this[String Key]
        {
            get
            {
				KeyValuePairConfigurationElement kvpce = new KeyValuePairConfigurationElement ();
				kvpce.Key = this [Key].Key;
				kvpce.Value = this [Key].Value;
				return kvpce;
            }
        }
コード例 #2
0
 public void Add(KeyValuePairConfigurationElement element)
 {
     KeyValuePairConfigurationElement ele = (KeyValuePairConfigurationElement)element;     
     if(ContainsKey(ele.Key))
     {
         this[ele.Key].Value = ele.Value;
     }
     else
         base.Add(ele.Key,ele.Value);
 }