Share via


ReadOnlyNamedDictionary<TValue> Members

Include Protected Members
Include Inherited Members

Represents a special implementation of IReadOnlyDictionary, where the key is a string.

The ReadOnlyNamedDictionary<TValue> type exposes the following members.

Constructors

  Name Description
Public method ReadOnlyNamedDictionary<TValue>() Initializes a new instance of the class.
Public method ReadOnlyNamedDictionary<TValue>(Int32) Initializes a new instance of the class by using a specified size.

Top

Properties

  Name Description
Public property Count Gets the count of the items in the read-only dictionary. (Inherited from ReadOnlyDictionary<TKey, TValue>.)
Public property Item[TKey] Gets the item that exists at a specified key. (Inherited from ReadOnlyDictionary<TKey, TValue>.)
Public property Item[String] Gets the value stored at a specified key string. (Overrides ReadOnlyDictionary<TKey, TValue>.Item[TKey].)
Public property Keys Gets the collection of keys in the dictionary. (Inherited from ReadOnlyDictionary<TKey, TValue>.)
Public property Values Gets the collection of values in the dictionary. (Inherited from ReadOnlyDictionary<TKey, TValue>.)

Top

Methods

  Name Description
Public method Contains Determines whether a specified item is stored at a specified key in the dictionary. (Inherited from ReadOnlyDictionary<TKey, TValue>.)
Public method ContainsKey Determines whether the dictionary contains a specific key. (Inherited from ReadOnlyDictionary<TKey, TValue>.)
Public method CopyTo Copies items from a read-only dictionary to an array at a specific index. (Inherited from ReadOnlyDictionary<TKey, TValue>.)
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method GetEnumerator Creates an enumerator to iterate through this collection. (Inherited from ReadOnlyDictionary<TKey, TValue>.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone (Inherited from MarshalByRefObject.)
Public method ToString (Inherited from Object.)
Public method TryGetValue Gets the value associated with the specified key. (Inherited from ReadOnlyDictionary<TKey, TValue>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Creates an enumerator to iterate through this collection. (Inherited from ReadOnlyDictionary<TKey, TValue>.)

Top

See Also

Reference

ReadOnlyNamedDictionary<TValue> Class

Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client Namespace