MappedDataField Interface

Represents a single mapped data field.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

public interface MappedDataField

The MappedDataField object is a member of the MappedDataFields collection. The MappedDataFields collection includes all the mapped data fields available in Microsoft Word.

A mapped data field is a field contained within Word that represents commonly used name or address information, such as "First Name." If a data source contains a "First Name" field or a variation (such as "First_Name," "FirstName," "First," or "FName"), the field in the data source will automatically map to the corresponding mapped data field in Word. If a document or template is to be merged with more than one data source, mapped data fields make it unnecessary to reenter the fields into the document to agree with the field names in the database.

Use the MappedDataFields property to return a MappedDataField object.