add method

add

Adds an element with the provided key and value to the IDictionary object.

def add(self, key, value):
    ...
ParameterTypeDescription
keyanyThe
Object to use as the key of the element to add.
valueanyThe
Object to use as the value of the element to add.

See Also