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)

Usage

Public Class ailMergeFieldNameImplementation
    Implements MailMergeFieldName
End Class
Dim ailMergeFieldNameImplementation1 As New ailMergeFieldNameImplementation()

Syntax

Public Interface MailMergeFieldName
public interface MailMergeFieldName
public interface class MailMergeFieldName
public interface MailMergeFieldName
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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

MailMergeFieldName Members