MailMergeDataFields Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of MailMergeDataField objects that represent the data fields in a mail merge data source.
public interface class MailMergeDataFields : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002091A-0000-0000-C000-000000000046")]
public interface MailMergeDataFields : System.Collections.IEnumerable
type MailMergeDataFields = interface
interface IEnumerable
Public Interface MailMergeDataFields
Implements IEnumerable
- Attributes
- Implements
Remarks
Use the DataFields property to return the MailMergeDataFields collection.
You cannot add fields to the MailMergeDataFields collection. When a data field is added to a data source, the field is automatically included in the MailMergeDataFields collection. Use the EditDataSource() method to edit the contents of a data source.
Use DataFields(index
), where index
is the data field name or the index number, to return a single MailMergeDataField object. The index number represents the position of the data field in the mail merge data source.
Properties
Application |
Returns a Application object that represents the Microsoft Word application. |
Count |
Returns the number of items in the specified collection. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
Item[Object] |
Returns an individual object in a collection. |
Parent |
Returns an object that represents the parent object of the specified object. |
Methods
GetEnumerator() |