GemBox.Email
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    IMailMergeDataSource Interface

    Namespace:
    GemBox.Email
    Assembly:
    GemBox.Email.dll

    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.

    • C#
    • VB.NET
    public interface IMailMergeDataSource
    Public Interface IMailMergeDataSource

    Methods

    Contains(String)

    Determines whether data source contains values with specified name.

    • C#
    • VB.NET
    bool Contains(string valueName)
    Function Contains(valueName As String) As Boolean
    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.

    • C#
    • VB.NET
    string GetValue(string valueName)
    Function GetValue(valueName As String) As String
    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.

    • C#
    • VB.NET
    bool MoveNext()
    Function MoveNext As Boolean
    Returns
    System.Boolean

    true if next record is available; otherwise, false.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.