C# Class ApiExamples.ExNestedMailMergeCustom.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 ) : System.Collections
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 ) : System.Collections
customers CustomerList
Résultat System.Collections

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