## Document::get_GlossaryDocument method


Gets or sets the glossary document within this document or template. A glossary document is a storage for AutoText, AutoCorrect and Building Block entries defined in a document.

```cpp
System::SharedPtr<Aspose::Words::BuildingBlocks::GlossaryDocument> Aspose::Words::Document::get_GlossaryDocument() const
```

## Remarks


This property returns **null** if the document does not have a glossary document.

You can add a glossary document to a document by creating a [GlossaryDocument](../../../aspose.words.buildingblocks/glossarydocument/) object and assigning to this property.

## See Also

* Class [GlossaryDocument](../../../aspose.words.buildingblocks/glossarydocument/)
* Class [Document](../)
* Namespace [Aspose::Words](../../)
* Library [Aspose.Words for C++](../../../)
