using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Collections
{
/// Represents a nongeneric collection of key/value pairs.
// Token: 0x020005B7 RID: 1463
[Token(Token = "0x20005B7")]
[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: 0x170006AB RID: 1707
[Token(Token = "0x170006AB")]
object this[object key]
{
[Token(Token = "0x6002C68")]
[Address(Slot = "0")]
get;
[Token(Token = "0x6002C69")]
[Address(Slot = "1")]
set;
}
/// Gets an object containing the keys of the object.
/// An object containing the keys of the object.
// Token: 0x170006AC RID: 1708
// (get) Token: 0x06002C6A RID: 11370
[Token(Token = "0x170006AC")]
ICollection Keys
{
[Token(Token = "0x6002C6A")]
[Address(Slot = "2")]
get;
}
/// Gets an object containing the values in the object.
/// An object containing the values in the object.
// Token: 0x170006AD RID: 1709
// (get) Token: 0x06002C6B RID: 11371
[Token(Token = "0x170006AD")]
ICollection Values
{
[Token(Token = "0x6002C6B")]
[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: 0x06002C6C RID: 11372
[Token(Token = "0x6002C6C")]
[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: 0x06002C6D RID: 11373
[Token(Token = "0x6002C6D")]
[Address(Slot = "5")]
void Add(object key, object value);
/// Removes all elements from the object.
/// The object is read-only.
// Token: 0x06002C6E RID: 11374
[Token(Token = "0x6002C6E")]
[Address(Slot = "6")]
void Clear();
/// Gets a value indicating whether the object is read-only.
///
/// if the object is read-only; otherwise, .
// Token: 0x170006AE RID: 1710
// (get) Token: 0x06002C6F RID: 11375
[Token(Token = "0x170006AE")]
bool IsReadOnly
{
[Token(Token = "0x6002C6F")]
[Address(Slot = "7")]
get;
}
/// Gets a value indicating whether the object has a fixed size.
///
/// if the object has a fixed size; otherwise, .
// Token: 0x170006AF RID: 1711
// (get) Token: 0x06002C70 RID: 11376
[Token(Token = "0x170006AF")]
bool IsFixedSize
{
[Token(Token = "0x6002C70")]
[Address(Slot = "8")]
get;
}
/// Returns an object for the object.
/// An object for the object.
// Token: 0x06002C71 RID: 11377
[Token(Token = "0x6002C71")]
[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: 0x06002C72 RID: 11378
[Token(Token = "0x6002C72")]
[Address(Slot = "10")]
void Remove(object key);
}
}