92 lines
5.7 KiB
C#
92 lines
5.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Collections
|
|
{
|
|
/// <summary>Represents a nongeneric collection of key/value pairs.</summary>
|
|
/// <filterpriority>1</filterpriority>
|
|
// Token: 0x02000133 RID: 307
|
|
[ComVisible(true)]
|
|
public interface IDictionary : IEnumerable, ICollection
|
|
{
|
|
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
|
|
/// <returns>true if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, false.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x1700028D RID: 653
|
|
// (get) Token: 0x06000FE0 RID: 4064
|
|
bool IsFixedSize { get; }
|
|
|
|
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object is read-only.</summary>
|
|
/// <returns>true if the <see cref="T:System.Collections.IDictionary" /> object is read-only; otherwise, false.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x1700028E RID: 654
|
|
// (get) Token: 0x06000FE1 RID: 4065
|
|
bool IsReadOnly { get; }
|
|
|
|
/// <summary>Gets or sets the element with the specified key.</summary>
|
|
/// <returns>The element with the specified key.</returns>
|
|
/// <param name="key">The key of the element to get or set. </param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="key" /> is null. </exception>
|
|
/// <exception cref="T:System.NotSupportedException">The property is set and the <see cref="T:System.Collections.IDictionary" /> object is read-only.-or- The property is set, <paramref name="key" /> does not exist in the collection, and the <see cref="T:System.Collections.IDictionary" /> has a fixed size. </exception>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x1700028F RID: 655
|
|
object this[object key] { get; set; }
|
|
|
|
/// <summary>Gets an <see cref="T:System.Collections.ICollection" /> object containing the keys of the <see cref="T:System.Collections.IDictionary" /> object.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.ICollection" /> object containing the keys of the <see cref="T:System.Collections.IDictionary" /> object.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x17000290 RID: 656
|
|
// (get) Token: 0x06000FE4 RID: 4068
|
|
ICollection Keys { get; }
|
|
|
|
/// <summary>Gets an <see cref="T:System.Collections.ICollection" /> object containing the values in the <see cref="T:System.Collections.IDictionary" /> object.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.ICollection" /> object containing the values in the <see cref="T:System.Collections.IDictionary" /> object.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x17000291 RID: 657
|
|
// (get) Token: 0x06000FE5 RID: 4069
|
|
ICollection Values { get; }
|
|
|
|
/// <summary>Adds an element with the provided key and value to the <see cref="T:System.Collections.IDictionary" /> object.</summary>
|
|
/// <param name="key">The <see cref="T:System.Object" /> to use as the key of the element to add. </param>
|
|
/// <param name="value">The <see cref="T:System.Object" /> to use as the value of the element to add. </param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="key" /> is null. </exception>
|
|
/// <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:System.Collections.IDictionary" /> object. </exception>
|
|
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IDictionary" /> is read-only.-or- The <see cref="T:System.Collections.IDictionary" /> has a fixed size. </exception>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x06000FE6 RID: 4070
|
|
void Add(object key, object value);
|
|
|
|
/// <summary>Removes all elements from the <see cref="T:System.Collections.IDictionary" /> object.</summary>
|
|
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IDictionary" /> object is read-only. </exception>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x06000FE7 RID: 4071
|
|
void Clear();
|
|
|
|
/// <summary>Determines whether the <see cref="T:System.Collections.IDictionary" /> object contains an element with the specified key.</summary>
|
|
/// <returns>true if the <see cref="T:System.Collections.IDictionary" /> contains an element with the key; otherwise, false.</returns>
|
|
/// <param name="key">The key to locate in the <see cref="T:System.Collections.IDictionary" /> object.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="key" /> is null. </exception>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x06000FE8 RID: 4072
|
|
bool Contains(object key);
|
|
|
|
/// <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the <see cref="T:System.Collections.IDictionary" /> object.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the <see cref="T:System.Collections.IDictionary" /> object.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x06000FE9 RID: 4073
|
|
IDictionaryEnumerator GetEnumerator();
|
|
|
|
/// <summary>Removes the element with the specified key from the <see cref="T:System.Collections.IDictionary" /> object.</summary>
|
|
/// <param name="key">The key of the element to remove. </param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="key" /> is null. </exception>
|
|
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IDictionary" /> object is read-only.-or- The <see cref="T:System.Collections.IDictionary" /> has a fixed size. </exception>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x06000FEA RID: 4074
|
|
void Remove(object key);
|
|
}
|
|
}
|