using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Collections
{
/// Represents a nongeneric collection of key/value pairs.
// Token: 0x020005D6 RID: 1494
[Token(Token = "0x20005D6")]
[ComVisible(true)]
public interface IDictionary : ICollection, IEnumerable
{
/// Gets or sets the element with the specified key.
/// The key of the element to get or set.
/// The element with the specified key, or if the key does not exist.
///
/// is .
/// The property is set and the object is read-only.
/// -or-
/// The property is set, does not exist in the collection, and the has a fixed size.
// Token: 0x17000723 RID: 1827
[Token(Token = "0x17000723")]
object this[object key]
{
[Token(Token = "0x6002E7E")]
[Address(Slot = "0")]
get;
[Token(Token = "0x6002E7F")]
[Address(Slot = "1")]
set;
}
/// Gets an object containing the keys of the object.
/// An object containing the keys of the object.
// Token: 0x17000724 RID: 1828
// (get) Token: 0x06002E80 RID: 11904
[Token(Token = "0x17000724")]
ICollection Keys
{
[Token(Token = "0x6002E80")]
[Address(Slot = "2")]
get;
}
/// Gets an object containing the values in the object.
/// An object containing the values in the object.
// Token: 0x17000725 RID: 1829
// (get) Token: 0x06002E81 RID: 11905
[Token(Token = "0x17000725")]
ICollection Values
{
[Token(Token = "0x6002E81")]
[Address(Slot = "3")]
get;
}
/// Determines whether the object contains an element with the specified key.
/// The key to locate in the object.
///
/// if the contains an element with the key; otherwise, .
///
/// is .
// Token: 0x06002E82 RID: 11906
[Token(Token = "0x6002E82")]
[Address(Slot = "4")]
bool Contains(object key);
/// Adds an element with the provided key and value to the object.
/// The to use as the key of the element to add.
/// The to use as the value of the element to add.
///
/// is .
/// An element with the same key already exists in the object.
/// The is read-only.
/// -or-
/// The has a fixed size.
// Token: 0x06002E83 RID: 11907
[Token(Token = "0x6002E83")]
[Address(Slot = "5")]
void Add(object key, object value);
/// Removes all elements from the object.
/// The object is read-only.
// Token: 0x06002E84 RID: 11908
[Token(Token = "0x6002E84")]
[Address(Slot = "6")]
void Clear();
/// Gets a value indicating whether the object is read-only.
///
/// if the object is read-only; otherwise, .
// Token: 0x17000726 RID: 1830
// (get) Token: 0x06002E85 RID: 11909
[Token(Token = "0x17000726")]
bool IsReadOnly
{
[Token(Token = "0x6002E85")]
[Address(Slot = "7")]
get;
}
/// Gets a value indicating whether the object has a fixed size.
///
/// if the object has a fixed size; otherwise, .
// Token: 0x17000727 RID: 1831
// (get) Token: 0x06002E86 RID: 11910
[Token(Token = "0x17000727")]
bool IsFixedSize
{
[Token(Token = "0x6002E86")]
[Address(Slot = "8")]
get;
}
/// Returns an object for the object.
/// An object for the object.
// Token: 0x06002E87 RID: 11911
[Token(Token = "0x6002E87")]
[Address(Slot = "9")]
IDictionaryEnumerator GetEnumerator();
/// Removes the element with the specified key from the object.
/// The key of the element to remove.
///
/// is .
/// The object is read-only.
/// -or-
/// The has a fixed size.
// Token: 0x06002E88 RID: 11912
[Token(Token = "0x6002E88")]
[Address(Slot = "10")]
void Remove(object key);
}
}