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

    Show / Hide Table of Contents

    FieldMappingDictionary Class

    Namespace:
    GemBox.Document.MailMerging
    Assembly:
    GemBox.Document.dll

    Represents a dictionary that is used in MailMerge when Fields and data source columns have different names.

    • C#
    • VB.NET
    public sealed class FieldMappingDictionary : DictionaryBase<String, String>, IDictionary<String, String>, ICollection<KeyValuePair<String, String>>, IEnumerable<KeyValuePair<String, String>>, IEnumerable
    Public NotInheritable Class FieldMappingDictionary
        Inherits DictionaryBase(Of String, String)
        Implements IDictionary(Of String, String), ICollection(Of KeyValuePair(Of String, String)), IEnumerable(Of KeyValuePair(Of String, String)), IEnumerable
    Inheritance:
    System.Object
    DictionaryBase<System.String, System.String>
    FieldMappingDictionary
    Implements
    System.Collections.Generic.IDictionary<System.String, System.String>
    System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, System.String>>
    System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>
    System.Collections.IEnumerable
    Remarks

    Keys and values cannot be null or System.String.Empty.

    Key comparison is case-insensitive.

    Methods

    Add(String, String)

    Adds a new mapping from field name to data source column name.

    • C#
    • VB.NET
    public void Add(string fieldName, string valueName)
    Public Sub Add(fieldName As String, valueName As String)
    Parameters
    fieldName
    System.String

    The field name.

    valueName
    System.String

    The data source column name.

    Implements

    System.Collections.Generic.IDictionary<TKey, TValue>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.