forwardToString Method    Table of ContentReadOnlyDictionary(TKey, TValue) Constructor forward
ReadOnlyDictionary<TKey, TValue> Class
Represents read-only dictionary.
Inheritance Hierarchy
System.Object
  System.Collections.ObjectModel.ReadOnlyCollection<KeyValuePair<TKey, TValue>>
    OnixS.SimpleBinaryEncoding.ReadOnlyDictionary<TKey, TValue>

Namespace:  OnixS.SimpleBinaryEncoding
Assembly:  OnixS.SimpleBinaryEncoding-net-4.7 (in OnixS.SimpleBinaryEncoding-net-4.7.dll) Version: 2.3.1.0 (2.3.1.0)
Syntax
C#
public sealed class ReadOnlyDictionary<TKey, TValue> : ReadOnlyCollection<KeyValuePair<TKey, TValue>>

Type Parameters

TKey
Type of key.
TValue
Type of value.

The ReadOnlyDictionary<TKey, TValue> type exposes the following members.

Constructors
  NameDescription
Public methodReadOnlyDictionary<TKey, TValue>
Constructor.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ReadOnlyCollection<T> instance.
(Inherited from ReadOnlyCollection<KeyValuePair<TKey, TValue>>.)
Public propertyItem[Int32]
Gets the element at the specified index.
(Inherited from ReadOnlyCollection<KeyValuePair<TKey, TValue>>.)
Public propertyItem[TKey]
Gets value object from dictionary.
Top
Methods
  NameDescription
Public methodContains
Determines whether an element is in the ReadOnlyCollection<T>.
(Inherited from ReadOnlyCollection<KeyValuePair<TKey, TValue>>.)
Public methodContainsKey
Returns true if dictionary contains key.
Public methodCopyTo
Copies the entire ReadOnlyCollection<T> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from ReadOnlyCollection<KeyValuePair<TKey, TValue>>.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the ReadOnlyCollection<T>.
(Inherited from ReadOnlyCollection<KeyValuePair<TKey, TValue>>.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollection<T>.
(Inherited from ReadOnlyCollection<KeyValuePair<TKey, TValue>>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Try to get value object from dictionary.
Top
See Also