Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MailMergeFields Interface 

A collection of MailMergeField objects that represent the mail merge related fields in a document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Public Class ailMergeFieldsImplementation
	Implements MailMergeFields
End Class
Dim ailMergeFieldsImplementation1 As New ailMergeFieldsImplementation()

public interface MailMergeFields : IEnumerable
public interface MailMergeFields implements IEnumerable
public interface MailMergeFields implements IEnumerable

Use the Fields property to return the MailMergeFields collection.

Use the Add method to add a merge field to the MailMergeFields collection.

Use Fields(index), where index is the index number, to return a single MailMergeField object.

The MailMergeFields collection has additional methods, such as AddAsk and AddFillIn, for adding fields related to a mail merge operation.


Development Platforms

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

Target Platforms

Community Additions

Show: