Leadtools.Dicom.AddIn Namespace > ThreadSafeDictionary<TKey,TValue> Class > Add Method : Add(KeyValuePair<TKey,TValue>) Method |
public virtual void Add( KeyValuePair<TKey,TValue> item )
'Declaration Public Overloads Overridable Sub Add( _ ByVal item As KeyValuePair(Of TKey,TValue) _ )
'Usage Dim instance As ThreadSafeDictionary(Of TKey,TValue) Dim item As KeyValuePair(Of TKey,TValue) instance.Add(item)
public: virtual void Add( KeyValuePair<TKey^,TValue^> item )
Exception | Description |
---|---|
System.NotSupportedException | The ICollection is read-only. |