ReadOnlyDictionaryBaseTKey, TValue Class

CVB.Net Documentation
Base class for read-only, generic collection of key/value pairs.
Inheritance Hierarchy

SystemObject
  Stemmer.Cvb.Collections.GenericReadOnlyDictionaryBaseTKey, TValue
    Stemmer.Cvb.Collections.GenericReadOnlyDictionaryTKey, TValue
    Stemmer.Cvb.DriverNodeMapDictionary
    Stemmer.Cvb.DriverNotifyDictionary
    Stemmer.Cvb.GenApiNodeMap

Namespace:  Stemmer.Cvb.Collections.Generic
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public abstract class ReadOnlyDictionaryBase<TKey, TValue> : IDictionary<TKey, TValue>, 
	ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
	IEnumerable

Type Parameters

TKey
Type of keys in the dictionary.
TValue
Type of values in the dictionary.

The ReadOnlyDictionaryBaseTKey, TValue type exposes the following members.

Constructors

  NameDescription
Protected methodReadOnlyDictionaryBaseTKey, TValue
Creates a new ReadOnlyDictionary wrapping the given dictionary.
Top
Properties

  NameDescription
Public propertyCount
Gets the number of items in the dictionary.
Protected propertyDictionary
Gets the wrapped dictionary.
Public propertyItem
Gets the element that has the specified key.
Public propertyKeys
Gets a read-only collection of all keys in this dictionary.
Public propertyValues
Gets a read-only collection of all values in this dictionary.
Top
Methods

  NameDescription
Protected methodContains
Determines whether the item is in this collection.
Public methodContainsKey
Determines whether the key is in this collection.
Protected methodCopyTo
Copies the entire collection to a compatible one-dimensional array, starting at the specified arrayIndex.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetEnumerator
Returns an enumerator that iterates through this collection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Retrieves the value that is associated with the specific key.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueAdd
Explicit interface implementationPrivate methodIDictionaryTKey, TValueAdd
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueClear
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueContains
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueCopyTo
Explicit interface implementationPrivate methodIEnumerableKeyValuePairTKey, TValueGetEnumerator
Returns an enumerator that iterates through the collection.
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implementationPrivate propertyICollectionKeyValuePairTKey, TValueIsReadOnly
Explicit interface implementationPrivate propertyIDictionaryTKey, TValueItem
Gets or sets the element with the specified key.
Explicit interface implementationPrivate methodICollectionKeyValuePairTKey, TValueRemove
Explicit interface implementationPrivate methodIDictionaryTKey, TValueRemove
Top
Remarks

This class wraps another dictionary as a read-only view on it.

See Also

Reference