Add(String,Object,CultureInfo) Method
In This Topic
Adds a data source to this
DataSourceDictionary.
Syntax
'Declaration
Public Overloads Sub Add( _
ByVal As System.String, _
ByVal As System.Object, _
ByVal As System.Globalization.CultureInfo _
)
public void Add(
System.string ,
System.object ,
System.Globalization.CultureInfo
)
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
Exception | Description |
System.ArgumentNullException | is null. |
System.ArgumentException | An element with the same key already exists in the DataSourceDictionary. |
See Also