[]
        
(Showing Draft Content)

C1.Document.C1SortedList-2.Add

Add Method

Add(TKey, TValue)

Adds value to the list, returns index of the added value, throws exception if value with specified key already exists.

Declaration
public int Add(TKey key, TValue value)
Public Function Add(key As TKey, value As TValue) As Integer
Parameters
Type Name Description
TKey key
TValue value
Returns
Type Description
int