MappedDataField Interface

Definition

Represents a single mapped data field.

public interface class MappedDataField
[System.Runtime.InteropServices.Guid("5D311669-EA51-11D3-87CC-00105AA31A34")]
public interface MappedDataField
type MappedDataField = interface
Public Interface MappedDataField
Attributes

Remarks

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.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Creator

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

DataFieldIndex

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

DataFieldName

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.

Index

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

Name

Returns or sets the name of the specified object.

Parent

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

Value

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

Applies to