[This is preliminary documentation and is subject to change.]
The ReadOnlyDictionary<(Of <(<'TKey, TValue>)>)> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ReadOnlyDictionary<(Of <(<'TKey, TValue>)>)>(IDictionary<(Of <<'(TKey, TValue>)>>), Boolean) | CTor from IDictionary<(Of <(<'TKey, TValue>)>)> with choice to wrap or copy it | |
| ReadOnlyDictionary<(Of <(<'TKey, TValue>)>)>(IDictionary<(Of <<'(TKey, TValue>)>>), IEqualityComparer<(Of <<'(TKey>)>>)) | CTror from IDictionary<(Of <(<'TKey, TValue>)>)> with comparer. |
Methods
| Name | Description | |
|---|---|---|
| ContainsKey | Determines whether the IDictionary<(Of <(<'TKey, TValue>)>)> contains an element with the specified key. | |
| CopyTo | Copies the values of the ReadOnlyDictionary<(Of <(<'TKey, TValue>)>)> to an Array, starting at a particular Array index. | |
| GetEnumerator | Returns an enumerator that iterates through the collection. | |
| GetValuesEnumerator | Returns an enumerator that iterates through the collection over values only. | |
| TryGetValue | Gets the value associated with the specified key. |
Properties
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the ReadOnlyDictionary<(Of <(<'TKey, TValue>)>)>. | |
| Item | Gets or sets the element with the specified key. | |
| Keys | Gets an ICollection<(Of <(<'T>)>)> containing the keys of the IDictionary<(Of <(<'TKey, TValue>)>)>. | |
| Values | Gets an ICollection<(Of <(<'T>)>)> containing the values in the IDictionary<(Of <(<'TKey, TValue>)>)>. |