C# Class Aspose.Words.Examples.CSharp.Mail_Merge.NestedMailMergeCustom.CustomerMailMergeDataSource

A custom mail merge data source that you implement to allow Aspose.Words To mail merge data from your Customer objects into Microsoft Word documents.
Inheritance: IMailMergeDataSource
Afficher le fichier Open project: aspose-words/Aspose.Words-for-.NET

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CustomerMailMergeDataSource ( CustomerList customers ) : Aspose.Words
GetChildDataSource ( string tableName ) : IMailMergeDataSource
GetValue ( string fieldName, object &fieldValue ) : bool

Aspose.Words calls this method to get a value for every data field.

MoveNext ( ) : bool

A standard implementation for moving to a next record in a collection.

Method Details

CustomerMailMergeDataSource() public méthode

public CustomerMailMergeDataSource ( CustomerList customers ) : Aspose.Words
customers CustomerList
Résultat Aspose.Words

GetChildDataSource() public méthode

public GetChildDataSource ( string tableName ) : IMailMergeDataSource
tableName string
Résultat IMailMergeDataSource

GetValue() public méthode

Aspose.Words calls this method to get a value for every data field.
public GetValue ( string fieldName, object &fieldValue ) : bool
fieldName string
fieldValue object
Résultat bool

MoveNext() public méthode

A standard implementation for moving to a next record in a collection.
public MoveNext ( ) : bool
Résultat bool