Show/Hide Toolbars

RiverSoftAVG Products Help

public method

Remove(TKey)

Remove key-value pair.

Remove removes the given key and its associated value from the dictionary. No exception is thrown if the key is not in the dictionary. This is an O(1) operation.

An     OnKeyNotify event and an     OnValueNotify event occur indicating an entry was removed from the dictionary.
 
 

public method

ToArray

Returns the content of the dictionary as an array.
 (Overrides RSGenerics.Collections.TRSEnumerable<T>.ToArray.)

public method

TrimExcess

Reduce capacity to current number of entries.

TrimExcess changes the capacity to the number of dictionary entries, held in Count.

This method rehashes the internal hash table to save space. This is only useful after a lot of items have been deleted from the dictionary.
 

public method

TryGetValue(TKey,TValue)

Try to get value for key.

TryGetValue returns true if the given key is in the dictionary and provides its value in Value. Otherwise, it returns false and Value is set to the default value type of TValue. No exception is raised if the key is not in the dictionary. This is an O(1) operation.
 

protected method

ValueNotify(TValue,TCollectionNotification)

Triggers an     OnValueNotify event with the given parameters.

Call ValueNotify to trigger an OnValueNotify event with the given parameters.

The meaning of the parameters is given in the following table:

Value

The Value that is added, removed or extracted.
 

Action

The action that the Value undergoes, which is of type TCollectionNotification.
 

Top

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb