MappedDataField Interface


Represents a single mapped data field.

public interface class MappedDataField
public interface MappedDataField
type MappedDataField = interface
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.



Returns a Application object that represents the Microsoft Word application.


Returns a 32-bit integer that indicates the application in which the specified object was created.


Returns or sets an Integer that represents the corresponding field number in the mail merge data source to which a mapped data field maps.


Sets or returns a String that represents the name of the field in the mail merge data source to which a mapped data field maps.


Returns an Integer that represents the position of an item in a collection.


Returns or sets the name of the specified object.


Returns an object that represents the parent object of the specified object.


Returns the contents of the mail merge data field or mapped data field for the current record.

Applies to