Click or drag to resize

WikiReadOnlyDictionaryIDictionaryString, JsonElementAdd Method

This is preliminary documentation and is subject to change.

Adds an element with the provided key and value to the IDictionaryTKey, TValue.

Namespace: WikiClientLibrary.Infrastructures
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
void IDictionary<string, JsonElement>.Add(
	string key,
	JsonElement value
)

Parameters

key  String
The object to use as the key of the element to add.
value  JsonElement
The object to use as the value of the element to add.

Implements

IDictionaryTKey, TValueAdd(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is .
ArgumentExceptionAn element with the same key already exists in the IDictionaryTKey, TValue.
NotSupportedExceptionThe IDictionaryTKey, TValue is read-only.
See Also