MailMergeFieldNames Interface
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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)

[GuidAttribute("0002091C-0000-0000-C000-000000000046")]
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.

Show:
© 2016 Microsoft