Represents a dictionary that can be read from but not written to.
Declaration Syntax
C# |
public sealed class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
Generic Template Parameters
- TKey
- The type of keys in the collection
- TValue
- The type of values in the collection.
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
ReadOnlyDictionary<(Of <(<'TKey, TValue>)>)>(IDictionary<(Of <<'(TKey, TValue>)>>)) |
Creates a new instance of ReadOnlyDictionary<(Of <(<'TKey, TValue>)>)>.
|
|
Contains(KeyValuePair<(Of <<'(TKey, TValue>)>>)) |
Determines whether the ICollection<(Of <(<'T>)>)> contains a specific value.
|
|
ContainsKey(TKey) |
Determines whether the IDictionary<(Of <(<'TKey, TValue>)>)> contains an element with the specified key.
|
|
CopyTo(array<KeyValuePair<(Of <<'(TKey, TValue>)>>)>[]()[][], Int32) |
Copies to.
|
|
Count |
Gets the number of elements contained in the ICollection<(Of <(<'T>)>)>.
|
|
Equals(Object) |
(Inherited from Object.) |
|
GetEnumerator()()()() |
Returns an enumerator that iterates through the collection.
|
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
IsReadOnly |
Gets a value indicating whether the ICollection<(Of <(<'T>)>)> is read-only.
|
|
Item[([( TKey])]) |
Gets or sets the element with the specified key.
|
|
Keys |
Gets an ICollection<(Of <(<'T>)>)> containing the keys of the IDictionary<(Of <(<'TKey, TValue>)>)>.
|
|
ToString()()()() |
(Inherited from Object.) |
|
TryGetValue(TKey, TValue%) |
Gets the value associated with the specified key.
|
|
Values |
Gets an ICollection<(Of <(<'T>)>)> containing the values in the IDictionary<(Of <(<'TKey, TValue>)>)>.
|
Inheritance Hierarchy
Object | |
ReadOnlyDictionary<(Of <(<'TKey, TValue>)>)> |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)