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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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