using System; namespace System.Collections.Generic { /// Represents a generic collection of key/value pairs. /// The type of keys in the dictionary. /// The type of values in the dictionary. /// 1 // Token: 0x0200010A RID: 266 public interface IDictionary : IEnumerable, ICollection>, IEnumerable> { /// Adds an element with the provided key and value to the . /// The object to use as the key of the element to add. /// The object to use as the value of the element to add. /// /// is null. /// An element with the same key already exists in the . /// The is read-only. // Token: 0x06000CF5 RID: 3317 void Add(TKey key, TValue value); /// Determines whether the contains an element with the specified key. /// true if the contains an element with the key; otherwise, false. /// The key to locate in the . /// /// is null. // Token: 0x06000CF6 RID: 3318 bool ContainsKey(TKey key); /// Removes the element with the specified key from the . /// true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . /// The key of the element to remove. /// /// is null. /// The is read-only. // Token: 0x06000CF7 RID: 3319 bool Remove(TKey key); /// Gets the value associated with the specified key. /// true if the object that implements contains an element with the specified key; otherwise, false. /// The key whose value to get. /// When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. /// /// is null. // Token: 0x06000CF8 RID: 3320 bool TryGetValue(TKey key, out TValue value); /// Gets or sets the element with the specified key. /// The element with the specified key. /// The key of the element to get or set. /// /// is null. /// The property is retrieved and is not found. /// The property is set and the is read-only. // Token: 0x170001EF RID: 495 TValue this[TKey key] { get; set; } /// Gets an containing the keys of the . /// An containing the keys of the object that implements . // Token: 0x170001F0 RID: 496 // (get) Token: 0x06000CFB RID: 3323 ICollection Keys { get; } /// Gets an containing the values in the . /// An containing the values in the object that implements . // Token: 0x170001F1 RID: 497 // (get) Token: 0x06000CFC RID: 3324 ICollection Values { get; } } }