---
title: "CustomPartCollection.add method"
url: "https://reference.aspose.com/words/nodejs-net/aspose.words.markup/custompartcollection/add/"
product: "Aspose.Words for Node.js"
description: "CustomPartCollection.add method. Adds an item to the collection."
---


## add(part) {#custompart}

Adds an item to the collection.


```js
add(part: Aspose.Words.Markup.CustomPart)
```

| Parameter | Type | Description |
| --- | --- | --- |
| part | [CustomPart](../../custompart/) | The item to add. |

### See Also

* module [Aspose.Words.Markup](../../)
* class [CustomPartCollection](../)

