
## BuildingBlock(glossaryDoc) {#glossarydocument}

Initializes a new instance of this class.


```js
BuildingBlock(glossaryDoc: Aspose.Words.BuildingBlocks.GlossaryDocument)
```

| Parameter | Type | Description |
| --- | --- | --- |
| glossaryDoc | [GlossaryDocument](../../../aspose.words.buildingblocks/glossarydocument/) | The owner document. |

### Remarks

When [BuildingBlock](../) is created, it belongs to the specified glossary document, 
but is not yet part of the glossary document and [Node.parentNode](../../node/parentNode/) is ``null``.

To append [BuildingBlock](../) to a [GlossaryDocument](../../../aspose.words.buildingblocks/glossarydocument/) use 
[CompositeNode.appendChild()](../../compositenode/appendChild/#node).




### See Also

* module [Aspose.Words](../../)
* class [BuildingBlock](../)

