NonGenericDictionary Class
Contents
[
Hide
]Summary: Represents a non generic dictionary.
Module: aspose.psd
Full Name: aspose.psd.NonGenericDictionary
Aspose.PSD Version: 24.12.0
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| is_fixed_size | bool | r | Gets a value indicating whether the object has a fixed size. |
| is_read_only | bool | r | Gets a value indicating whether the object is read-only. |
| keys | list | r | Gets an list object containing the keys of the object. |
| values | list | r | Gets an list object containing the values in the object. |
Methods
| Name | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| key | object | The object to use as the key of the element to add. |
| value | object | The 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:
| Parameter | Type | Description |
|---|---|---|
| key | object | The key of the element to remove. |