FieldMappingDictionary Class
Represents a dictionary that is used in MailMerge when Fields and data source columns have different names.
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:
- FieldMappingDictionary
Implements
System.Collections.IEnumerable
Remarks
Keys and values cannot be null or Empty.
Key comparison is case-insensitive.
Methods
Add(String, String)
Adds a new mapping from field name to data source column name.
public void Add(string fieldName, string valueName)
Public Sub Add(fieldName As String, valueName As String)
Parameters
fieldName
- String
The field name.
valueName
- String
The data source column name.
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable