## Document::get_MailMergeSettings method


Gets or sets the object that contains all of the mail merge information for a document.

```cpp
System::SharedPtr<Aspose::Words::Settings::MailMergeSettings> Aspose::Words::Document::get_MailMergeSettings()
```

## Remarks


You can use this object to specify a mail merge data source for a document and this information (along with the available data fields) will appear in Microsoft Word when the user opens this document. Or you can use this object to query mail merge settings that the user has specified in Microsoft Word for this document.

This object is never **null**. 
## See Also

* Class [MailMergeSettings](../../../aspose.words.settings/mailmergesettings/)
* Class [Document](../)
* Namespace [Aspose::Words](../../)
* Library [Aspose.Words for C++](../../../)
