MailMergeFieldNames interface
Collapse the table of content
Expand the table of content

MailMergeFieldNames interface

A collection of MailMergeFieldName objects that represent the field names in a mail merge data source.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

public interface MailMergeFieldNames : IEnumerable

Use the FieldNames property to return the MailMergeFieldNames collection.

You cannot add names to the MailMergeFieldNames collection. When a field is added to a data source, the field name is automatically included in the MailMergeFieldNames collection. Use the EditDataSource method to edit the contents of a data source.

© 2016 Microsoft