Allows to automatically map between names of fields in your data source and names of mail merge fields in the document.
For a list of all members of this type, see MappedDataFieldCollection Members.
System.Object
Aspose.Words.Reporting.MappedDataFieldCollection
[Visual Basic]Public Class MappedDataFieldCollection
Remarks
This is implemented as a collection of string keys into string values. The keys are the names of mail merge fields in the document and the values are the names of fields in your data source.
Example
Shows how to add a mapping when a merge field in a document and a data field in a data source have different names.
[C#]
doc.MailMerge.MappedDataFields.Add("MyFieldName_InDocument", "MyFieldName_InDataSource");[Visual Basic]
doc.MailMerge.MappedDataFields.Add("MyFieldName_InDocument", "MyFieldName_InDataSource")Requirements
Namespace: Aspose.Words.Reporting
Assembly: Aspose.Words (in Aspose.Words.dll)
See Also
MappedDataFieldCollection Members | Aspose.Words.Reporting Namespace | MailMerge | MappedDataFields