ReadOnlyDictionary(TKey, TValue) Properties

ReadOnlyDictionary(Of TKey, TValue) Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The ReadOnlyDictionary(Of TKey, TValue) type exposes the following members.

  NameDescription
Public property Count Gets the number of items in the dictionary.
Protected property Dictionary Gets the dictionary wrapped by this ReadOnlyDictionary(Of TKey, TValue) object.
Public property Item Gets the element that has the specified key.
Public property Keys Gets a key collection that contains the keys of the dictionary.
Public property Values Gets a collection that contains the values in the dictionary.
Top

  NameDescription
Explicit interface implemetation Private property ICollection(Of KeyValuePair(Of TKey, TValue)).IsReadOnly Gets a value that indicates whether the dictionary is read-only.
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a value that indicates whether access to the dictionary is synchronized (thread safe).
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that can be used to synchronize access to the dictionary.
Explicit interface implemetation Private property IDictionary.IsFixedSize Gets a value that indicates whether the dictionary has a fixed size.
Explicit interface implemetation Private property IDictionary.IsReadOnly Gets a value that indicates whether the dictionary is read-only.
Explicit interface implemetation Private property IDictionary(Of TKey, TValue).Item Gets the element with the specified key.
Explicit interface implemetation Private property IDictionary.Item Gets the element that has the specified key.
Explicit interface implemetation Private property IDictionary(Of TKey, TValue).Keys Gets a collection that contains the keys of the dictionary.
Explicit interface implemetation Private property IDictionary.Keys Gets a collection that contains the keys of the dictionary.
Explicit interface implemetation Private property IDictionary(Of TKey, TValue).Values Gets a collection that contains the values in the dictionary.
Explicit interface implemetation Private property IDictionary.Values Gets a collection that contains the values in the dictionary.
Explicit interface implemetation Private property IReadOnlyDictionary(Of TKey, TValue).Keys Gets an enumerable collection that contains the keys in the read-only dictionary.
Explicit interface implemetation Private property IReadOnlyDictionary(Of TKey, TValue).Values Gets an enumerable collection that contains the values in the read-only dictionary.
Top

Show:
© 2017 Microsoft