MailMergeDataFields Interface
A collection of MailMergeDataField objects that represent the data fields in a mail merge data source.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Public Class ailMergeDataFieldsImplementation
Implements MailMergeDataFields
End Class
Dim ailMergeDataFieldsImplementation1 As New ailMergeDataFieldsImplementation()
Syntax
Public Interface MailMergeDataFields
Inherits IEnumerable
public interface MailMergeDataFields : IEnumerable
public interface class MailMergeDataFields : public IEnumerable
public interface MailMergeDataFields implements IEnumerable
public interface MailMergeDataFields implements IEnumerable
Remarks
Use the DataFields property to return the MailMergeDataFields collection.
You cannot add fields to the MailMergeDataFields collection. When a data field is added to a data source, the field is automatically included in the MailMergeDataFields collection. Use the EditDataSource method to edit the contents of a data source.
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.
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