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)

Syntax

'Declaration
<GuidAttribute("0002091C-0000-0000-C000-000000000046")> _
Public Interface MailMergeFieldNames _
    Inherits IEnumerable
'Usage
Dim instance As MailMergeFieldNames
[GuidAttribute("0002091C-0000-0000-C000-000000000046")]
public interface MailMergeFieldNames : IEnumerable

Remarks

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.

See Also

Reference

MailMergeFieldNames Members

Microsoft.Office.Interop.Word Namespace