A Sandcastle Documented Class Library

# LocalizedStringDictionary Add Method

Adds an element with the provided key and value to the IDictionary
TKey, TValue
.

Namespace: Dundas.BI
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public void Add(
    	string key,
    	string value
    )

    Public Sub Add (
    	key As String,
    	value As String
    )

    public:
    virtual void Add(
    	String^ key,
    	String^ value
    ) sealed

    abstract Add :
            key : string *
            value : string -> unit
    override Add :
            key : string *
            value : string -> unit

#### Parameters

key
  Type: System
  String
  The object to use as the key of the element to add.
value
  Type: System
  String
  The object to use as the value of the element to add.

#### Implements

IDictionary
TKey, TValue
Add(TKey, TValue)
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | key is .
ArgumentException | An element with the same key already exists in the IDictionary TKey, TValue .
NotSupportedException | The IDictionary TKey, TValue is read-only.

See Also

#### Reference

LocalizedStringDictionary Class
Dundas.BI Namespace