Class FixedElementDictionary<TKey,TValue>

This class implements a dictionary whose collection of elements cannot be modified. The values of the elements can be changed, but the elements themselves cannot be added or removed.

System.Object
  Stonefield.Collections.FixedElementDictionary<TKey,TValue>
public class FixedElementDictionary<TKey,TValue> : object, IDictionary<TKey,
   TValue>,
   ICollection<KeyValuePair`2>,
   IEnumerable<KeyValuePair`2>,
   IEnumerable

Class Members

MemberDescription

Constructor

Add

public sealed void Add(TKey key,
    TValue value);

public sealed void Add(KeyValuePair<TKey,TValue> item);

public sealed void Add(KeyValuePair<TKey,TValue> item)

Clear

public sealed void Clear();

Contains

public sealed bool Contains(KeyValuePair<TKey,TValue> item);

public sealed bool Contains(KeyValuePair<TKey,TValue> item)

ContainsKey

public sealed bool ContainsKey(TKey key);

CopyTo

public sealed void CopyTo(KeyValuePair`2[] array,
    int arrayIndex);

public sealed void CopyTo(KeyValuePair<TKey,TValue> array,
    int arrayIndex)

GetEnumerator

public sealed IEnumerator<KeyValuePair`2> GetEnumerator();

Remove

public sealed bool Remove(TKey key);

public sealed bool Remove(KeyValuePair<TKey,TValue> item);

public sealed bool Remove(KeyValuePair<TKey,TValue> item)

TryGetValue

public sealed bool TryGetValue(TKey key,
    ref TValue value);

public sealed bool TryGetValue(TKey key,
    ref TValue& value)

Count

IsReadOnly

Item

Keys

Values

Requirements

Namespace: Stonefield.Collections
Assembly: collections.dll