Click or drag to resize

DictionaryBaseTKey, TValue Class

Provides a base class for generic dictionary.
Inheritance Hierarchy

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.7.18
Syntax
public abstract class DictionaryBase<TKey, TValue> : IDictionary<TKey, TValue>, 
	ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
	IEnumerable

Type Parameters

TKey
The type of the key.
TValue
The type of the value.

The DictionaryBaseTKey, TValue type exposes the following members.

Properties
 NameDescription
Public propertyCount Gets the number of key/value pairs contained in the DictionaryBaseTKey, TValue.
Public propertyItem Gets or sets the value associated with the specified key.
Public propertyKeys Gets a collection containing the keys in the DictionaryBaseTKey, TValue.
Public propertyValues Gets a collection containing the values in the DictionaryBaseTKey, TValue.
Top
Methods
 NameDescription
Public methodAdd(KeyValuePairTKey, TValue) Adds an item to the ICollectionT.
Public methodAdd(TKey, TValue) Adds a element with the provided key and value to the ICollectionT.
Public methodClear Removes all items from the IDictionaryTKey, TValue.
Public methodContains Determines whether the IDictionaryTKey, TValue contains a specific value.
Public methodContainsKey Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
Public methodCopyTo Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
Public methodGetEnumerator Returns an enumerator that iterates through the collection.
Public methodRemove Removes the element with the specified key from the IDictionaryTKey, TValue.
Public methodTryGetValue Gets the value associated with the specified key.
Top
See Also