• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Interface IMailMergeDataSource

Provides named records and values to the mail-merge data-binding engine.

Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public interface IMailMergeDataSource

Properties

Name

Gets the region name exposed by this data source.

Declaration
string Name { get; }
Property Value
Type Description
string

Methods

GetChildRecords(object, string)

Gets child records for a named nested region.

Declaration
IEnumerable<object> GetChildRecords(object record, string regionName)
Parameters
Type Name Description
object record
string regionName
Returns
Type Description
IEnumerable<object>

GetRecords()

Gets the records exposed by the named region.

Declaration
IEnumerable<object> GetRecords()
Returns
Type Description
IEnumerable<object>

GetValue(object, string)

Gets a scalar value from a current record.

Declaration
object GetValue(object record, string fieldName)
Parameters
Type Name Description
object record
string fieldName
Returns
Type Description
object
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX