MailMergeDataField Interface
Represents a single mail merge field in a data source.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Public Class ailMergeDataFieldImplementation
Implements MailMergeDataField
End Class
Dim ailMergeDataFieldImplementation1 As New ailMergeDataFieldImplementation()
Syntax
Public Interface MailMergeDataField
public interface MailMergeDataField
public interface class MailMergeDataField
public interface MailMergeDataField
public interface MailMergeDataField
Remarks
The MailMergeDataField object is a member of the MailMergeDataFields collection. The MailMergeDataFields collection includes all the data fields in a mail merge data source (for example, Name, Address, and City).
Use DataFields(index), where index is the data field name or the index number, to return a single MailMergeDataField object. The index number represents the position of the data field in the mail merge data source.
You cannot add fields to the MailMergeDataFields collection. All data fields in a data source are automatically included in the MailMergeDataFields 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