
## DocumentPropertyCollection class

Base class for BuiltInDocumentPropertyCollection and CustomDocumentPropertyCollection collections.

## Methods

| Name | Description |
| --- | --- |
| [add()](#add) | Reserved for internal use. |
| [clear()](#clear) |  |
| [contains(name)](#contains) | Returns true if a property with the specified name exists in the collection. |
| [contains()](#contains-1) | Reserved for internal use. |
| [get(name)](#get) | Returns a DocumentProperty object by the name of the property. Returns null if a property with the specified name is not |
| [get(index)](#get-1) | Returns a DocumentProperty object by index. |
| [get()](#get-2) | Reserved for internal use. |
| [getCount()](#getcount) |  |
| [indexOf(name)](#indexof) | Gets the index of a property by name. |
| [indexOf()](#indexof-1) | Reserved for internal use. |
| [iterator()](#iterator) |  |
| [remove(name)](#remove) | Removes a property with the specified name from the collection. |
| [removeAt(index)](#removeat) | Removes a property at the specified index. |

### add() {#add}

Reserved for internal use.

### clear() {#clear}

### contains(name) {#contains}

Returns true if a property with the specified name exists in the collection.

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The case-insensitive name of the property. |

**Returns:** boolean — `boolean` True if the property exists in the collection; false otherwise.

### contains() {#contains-1}

Reserved for internal use.

### get(name) {#get}

Returns a DocumentProperty object by the name of the property. Returns null if a property with the specified name is not found.

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The case-insensitive name of the property to retrieve. |

### get(index) {#get-1}

Returns a DocumentProperty object by index.

| Parameter | Type | Description |
| --- | --- | --- |
| index | Number | Zero-based index of the |

### get() {#get-2}

Reserved for internal use.

### getCount() {#getcount}

### indexOf(name) {#indexof}

Gets the index of a property by name.

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The case-insensitive name of the property. |

**Returns:** Number — `Number` The zero based index. Negative value if not found.

### indexOf() {#indexof-1}

Reserved for internal use.

### iterator() {#iterator}

### remove(name) {#remove}

Removes a property with the specified name from the collection.

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The case-insensitive name of the property. |

### removeAt(index) {#removeat}

Removes a property at the specified index.

| Parameter | Type | Description |
| --- | --- | --- |
| index | Number | The zero based index. |
