MailMergeFieldName Interface

Represents a mail merge field name in a data source.

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

Syntax

'Declaration
<GuidAttribute("0002091B-0000-0000-C000-000000000046")> _
Public Interface MailMergeFieldName
'Usage
Dim instance As MailMergeFieldName
[GuidAttribute("0002091B-0000-0000-C000-000000000046")]
public interface MailMergeFieldName

Remarks

The MailMergeFieldName object is a member of the MailMergeFieldNames collection. The MailMergeFieldNames collection includes all the data field names in a mail merge data source.

Use FieldNames(index), where index is the index number, to return a single MailMergeFieldName object. The index number represents the position of the field in the mail merge data source.

You cannot add fields to the MailMergeFieldNames collection. Field names in a data source are automatically included in the MailMergeFieldNames collection.

See Also

Reference

MailMergeFieldName Members

Microsoft.Office.Interop.Word Namespace