public Add ( String key, String value ) : void | ||
key | String | |
value | String | |
return | void |
public void Add(String key, String value) {
KeyValueConfigurationElement element = new KeyValueConfigurationElement(key, value);
Add(element);
}
KeyValueConfigurationCollection::Add ( |
private static KeyValueConfigurationCollection GetKeyValueCollection() { var collection = new KeyValueConfigurationCollection(); collection.Add("Name", "Value"); collection.Add("Email", "*****@*****.**"); collection.Add("Company", "IBM"); collection.Add("Year", "2011"); return collection; }