IMailMergeDataSource Interface
Represents a mail merge data source. By adapting your custom data source to implement this interface, you can use it as a data source in mail merging.
Methods
Contains(String)
Determines whether data source contains values with specified name.
Parameters
valueName
- System.String
The value name.
Returns
- System.Boolean
true if values with specified name exist; otherwise, false.
GetValue(String)
Gets the value with a name equal to valueName
from the current record in data source.
Parameters
valueName
- System.String
The value name.
Returns
- System.String
true if the current record has a value with a name equal to valueName
.
MoveNext()
Moves to the next record in the data source.
Returns
- System.Boolean
true if next record is available; otherwise, false.