C# Class KNFoundation.KNKVC.KNDictionaryKVC

IDictionary specific KVC features.
Afficher le fichier Open project: bt-browser/KNFoundation

Méthodes publiques

Méthode Description
SetValueForKey ( this o, Object value, String key ) : void

Adds the given value for the given key in the dictionary. If the key doesn't exist, it will be added. If it does, the existing value will be replaced.

ValueForKey ( this o, String key ) : Object

Gets the value for the given key in the dictionary.

Method Details

SetValueForKey() public static méthode

Adds the given value for the given key in the dictionary. If the key doesn't exist, it will be added. If it does, the existing value will be replaced.
public static SetValueForKey ( this o, Object value, String key ) : void
o this The base dictionary.
value Object The value to set.
key String The key to set.
Résultat void

ValueForKey() public static méthode

Gets the value for the given key in the dictionary.
public static ValueForKey ( this o, String key ) : Object
o this The base dictionary.
key String The key to retrieve.
Résultat Object