[This is preliminary documentation and is subject to change.]

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.

Namespace:  KNKVC
Assembly:  KNKVC (in KNKVC.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static void setValueForKey(
	this IDictionary o,
	Object value,
	string key
)
Visual Basic (Declaration)
<ExtensionAttribute> _
Public Shared Sub setValueForKey ( _
	o As IDictionary, _
	value As Object, _
	key As String _
)
Visual C++
[ExtensionAttribute]
public:
static void setValueForKey(
	IDictionary^ o, 
	Object^ value, 
	String^ key
)

Parameters

o
Type: System.Collections..::.IDictionary
The base dictionary.
value
Type: System..::.Object
The value to set.
key
Type: System..::.String
The key to set.

See Also