Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

View..::..Add Method

Adds the given key-value pair to the underlying dictionary of this view. If key is not within the range of this view, an ArgumentException is thrown.

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
value
Type: TValue

Exceptions


ExceptionCondition
ArgumentExceptionkey is not within the range of this view.