Add(KeyType,Func<KeyType,ValueType>) Method
Adds an element with the provided key and function which is used to compute the value
Syntax
public void Add(
KeyType key,
System.Func<KeyType,ValueType> callBack
)Public Overloads Sub Add( _
ByVal key As KeyType, _
ByVal callBack As System.Func(Of KeyType,ValueType) _
) Parameters
| Name | Description |
|---|---|
| key | The object to use as the key of the element to add. |
| callBack | The function which will be called to compute the value when this item is retrieved from the dictionary |