MailMergeDataSource.FieldNames Property 

Returns a MailMergeFieldNames collection that represents the names of all the fields in the specified mail merge data source.

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

Usage

Dim mailMergeDataSource1 As MailMergeDataSource

Dim returnValue As MailMergeFieldNames
returnValue = mailMergeDataSource1.FieldNames

Syntax

ReadOnly Property FieldNames() As MailMergeFieldNames
MailMergeFieldNames FieldNames {get;}
property MailMergeFieldNames^ FieldNames{
    MailMergeFieldNames^ get();
}
public MailMergeFieldNames get_FieldNames();
function get FieldNames() : MailMergeFieldNames;

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

MailMergeDataSource Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

MailMergeDataSource Members