C# Класс 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.
Наследование: IMailMergeDataSource
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

CustomerMailMergeDataSource() публичный Метод

public CustomerMailMergeDataSource ( CustomerList customers ) : Aspose.Words
customers CustomerList
Результат Aspose.Words

GetChildDataSource() публичный Метод

public GetChildDataSource ( string tableName ) : IMailMergeDataSource
tableName string
Результат IMailMergeDataSource

GetValue() публичный Метод

Aspose.Words calls this method to get a value for every data field.
public GetValue ( string fieldName, object &fieldValue ) : bool
fieldName string
fieldValue object
Результат bool

MoveNext() публичный Метод

A standard implementation for moving to a next record in a collection.
public MoveNext ( ) : bool
Результат bool