MappedDataFieldCollection class

MappedDataFieldCollection class

Allows to automatically map between names of fields in your data source and names of mail merge fields in the document. To learn more, visit the Mail Merge and Reporting documentation article.

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.

Properties

NameDescription
countGets the number of elements contained in the collection.

Methods

NameDescription
add(document_field_name, data_source_field_name)Adds a new field mapping.
clear()Removes all elements from the collection.
contains_key(document_field_name)Determines whether a mapping from the specified field in the document exists in the collection.
contains_value(data_source_field_name)Determines whether a mapping from the specified field in the data source exists in the collection.
remove(document_field_name)Removes a field mapping.

See Also