Files
2026-06-04 11:42:34 +02:00

93 lines
5.7 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Collections
{
/// <summary>Represents a non-generic collection of objects that can be individually accessed by index.</summary>
/// <filterpriority>1</filterpriority>
// Token: 0x0200002E RID: 46
[ComVisible(true)]
public interface IList : IEnumerable, ICollection
{
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
/// <returns>true if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, false.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x17000022 RID: 34
// (get) Token: 0x060004A2 RID: 1186
bool IsFixedSize { get; }
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> is read-only.</summary>
/// <returns>true if the <see cref="T:System.Collections.IList" /> is read-only; otherwise, false.</returns>
/// <filterpriority>2</filterpriority>
// Token: 0x17000023 RID: 35
// (get) Token: 0x060004A3 RID: 1187
bool IsReadOnly { get; }
/// <summary>Gets or sets the element at the specified index.</summary>
/// <returns>The element at the specified index.</returns>
/// <param name="index">The zero-based index of the element to get or set. </param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is not a valid index in the <see cref="T:System.Collections.IList" />. </exception>
/// <exception cref="T:System.NotSupportedException">The property is set and the <see cref="T:System.Collections.IList" /> is read-only. </exception>
/// <filterpriority>2</filterpriority>
// Token: 0x17000024 RID: 36
object this[int index] { get; set; }
/// <summary>Adds an item to the <see cref="T:System.Collections.IList" />.</summary>
/// <returns>The position into which the new element was inserted.</returns>
/// <param name="value">The <see cref="T:System.Object" /> to add to the <see cref="T:System.Collections.IList" />. </param>
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only.-or- The <see cref="T:System.Collections.IList" /> has a fixed size. </exception>
/// <filterpriority>2</filterpriority>
// Token: 0x060004A6 RID: 1190
int Add(object value);
/// <summary>Removes all items from the <see cref="T:System.Collections.IList" />.</summary>
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only. </exception>
/// <filterpriority>2</filterpriority>
// Token: 0x060004A7 RID: 1191
void Clear();
/// <summary>Determines whether the <see cref="T:System.Collections.IList" /> contains a specific value.</summary>
/// <returns>true if the <see cref="T:System.Object" /> is found in the <see cref="T:System.Collections.IList" />; otherwise, false.</returns>
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.IList" />. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x060004A8 RID: 1192
bool Contains(object value);
/// <summary>Determines the index of a specific item in the <see cref="T:System.Collections.IList" />.</summary>
/// <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.IList" />. </param>
/// <filterpriority>2</filterpriority>
// Token: 0x060004A9 RID: 1193
int IndexOf(object value);
/// <summary>Inserts an item to the <see cref="T:System.Collections.IList" /> at the specified index.</summary>
/// <param name="index">The zero-based index at which <paramref name="value" /> should be inserted. </param>
/// <param name="value">The <see cref="T:System.Object" /> to insert into the <see cref="T:System.Collections.IList" />. </param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is not a valid index in the <see cref="T:System.Collections.IList" />. </exception>
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only.-or- The <see cref="T:System.Collections.IList" /> has a fixed size. </exception>
/// <exception cref="T:System.NullReferenceException">
/// <paramref name="value" /> is null reference in the <see cref="T:System.Collections.IList" />.</exception>
/// <filterpriority>2</filterpriority>
// Token: 0x060004AA RID: 1194
void Insert(int index, object value);
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.IList" />.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to remove from the <see cref="T:System.Collections.IList" />. </param>
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only.-or- The <see cref="T:System.Collections.IList" /> has a fixed size. </exception>
/// <filterpriority>2</filterpriority>
// Token: 0x060004AB RID: 1195
void Remove(object value);
/// <summary>Removes the <see cref="T:System.Collections.IList" /> item at the specified index.</summary>
/// <param name="index">The zero-based index of the item to remove. </param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is not a valid index in the <see cref="T:System.Collections.IList" />. </exception>
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only.-or- The <see cref="T:System.Collections.IList" /> has a fixed size. </exception>
/// <filterpriority>2</filterpriority>
// Token: 0x060004AC RID: 1196
void RemoveAt(int index);
}
}