Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word.Templates Namespace / DataSourceDictionary Class / Add Method / Add(String,Object,CultureInfo) Method
The key (name) of the data source to add.
The data source to add.
The culture to use when parsing or formatting data from the added data source.

In This Topic
    Add(String,Object,CultureInfo) Method
    In This Topic
    Adds a data source to this DataSourceDictionary.
    Syntax
    'Declaration
     
    Public Overloads Sub Add( _
       ByVal key As System.String, _
       ByVal value As System.Object, _
       ByVal culture As System.Globalization.CultureInfo _
    ) 
    public void Add( 
       System.string key,
       System.object value,
       System.Globalization.CultureInfo culture
    )

    Parameters

    key
    The key (name) of the data source to add.
    value
    The data source to add.
    culture
    The culture to use when parsing or formatting data from the added data source.
    Exceptions
    ExceptionDescription
    key is null.
    An element with the same key already exists in the DataSourceDictionary.
    See Also