NonGenericDictionary Class

Summary: Represents a non generic dictionary.

Module: aspose.imaging

Full Name: aspose.imaging.NonGenericDictionary

Properties

NameTypeAccessDescription
is_fixed_sizeboolrGets a value indicating whether the
object has a fixed size.
is_read_onlyboolrGets a value indicating whether the
object is read-only.
keyslistrGets an
list object containing the keys of the
object.
valueslistrGets an
list object containing the values in the
object.

Methods

NameDescription
add(key, value)Adds an element with the provided key and value to the
object.
clear()Removes all elements from the
object.
remove(key)Removes the element with the specified key from the
object.

Method: add(key, value)

 add(key, value) 

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

Parameters:

ParameterTypeDescription
keyobjectThe
object to use as the key of the element to add.
valueobjectThe
object to use as the value of the element to add.

Method: remove(key)

 remove(key) 

Removes the element with the specified key from the
object.

Parameters:

ParameterTypeDescription
keyobjectThe key of the element to remove.