
**Summary:** Represents a non generic dictionary.

**Module:** [aspose.psd](/psd/python-net/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 <br/>             object has a fixed size. |
| is_read_only | bool | r | Gets a value indicating whether the <br/>             object is read-only. |
| keys | list | r | Gets an <br/>            list object containing the keys of the <br/>             object. |
| values | list | r | Gets an <br/>            list object containing the values in the <br/>             object. |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| [add(key, value)](#add_key_value_1) | Adds an element with the provided key and value to the <br/>             object. |
| clear() | Removes all elements from the <br/>             object. |
| [remove(key)](#remove_key_2) | Removes the element with the specified key from the <br/>             object. |


### Method: add(key, value) {#add_key_value_1}


```
 add(key, value) 
```

Adds an element with the provided key and value to the <br/>             object.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| key | object | The <br/>            object to use as the key of the element to add. |
| value | object | The <br/>            object to use as the value of the element to add. |

### Method: remove(key) {#remove_key_2}


```
 remove(key) 
```

Removes the element with the specified key from the <br/>             object.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| key | object | The key of the element to remove. |

