Add Method (KeyValuePair)
From Wintellect PowerCollections
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Adds a key-value pair to the collection. This implementation calls the Add method
with the Key and Value from the item.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
| C# |
|---|
public override void Add( KeyValuePair<TKey, TValue> item ) |
| Visual Basic (Declaration) |
|---|
Public Overrides Sub Add ( _ item As KeyValuePair(Of TKey, TValue) _ ) |
| Visual C++ |
|---|
public: virtual void Add ( KeyValuePair<TKey, TValue> item ) override |
Parameters
- item
- KeyValuePair<(Of <TKey, TValue>)>
A KeyValuePair contains the Key and Value to add.
See Also
Wintellect.PowerCollections Namespace