Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

MultiDictionaryBase<(Of <(<'TKey, TValue>)>)>..::..Add Method (TKey, TValue)

Adds a new key-value pair to the dictionary. This method must be overridden in the derived class.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public void Add(
	TKey key,
	TValue value
)
Public Sub Add ( _
	key As TKey, _
	value As TValue _
)
public:
void Add(
	TKey key, 
	TValue value
)

Parameters

key
Type: TKey
Key to add.
value
Type: TValue
Value to associated with the key.

Exceptions


ExceptionCondition
ArgumentExceptionkey is already present in the dictionary