Adds an item to the ICollection<(Of <(<'T>)>)>.
| C# | Visual Basic | Visual C++ |
public virtual void Add( KeyValuePair<Id, Id> item )
Public Overridable Sub Add ( _ item As KeyValuePair(Of Id, Id) _ )
public: virtual void Add( KeyValuePair<Id^, Id^> item )
- item (KeyValuePair<(Of <(<'Id, Id>)>)>)
- The object to add to the ICollection<(Of <(<'T>)>)>.
| Exception | Condition |
|---|---|
| NotSupportedException | The ICollection<(Of <(<'T>)>)> is read-only. |
| NotSupportedException | This instance is immutable |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)