mscorlib(4.0.0.0) API with additions
IList.cs
2 
3 namespace System.Collections
4 {
6  [ComVisible(true)]
7  [__DynamicallyInvokable]
8  public interface IList : ICollection, IEnumerable
9  {
16  [__DynamicallyInvokable]
17  object this[int index]
18  {
19  [__DynamicallyInvokable]
20  get;
21  [__DynamicallyInvokable]
22  set;
23  }
24 
28  [__DynamicallyInvokable]
29  bool IsReadOnly
30  {
31  [__DynamicallyInvokable]
32  get;
33  }
34 
38  [__DynamicallyInvokable]
39  bool IsFixedSize
40  {
41  [__DynamicallyInvokable]
42  get;
43  }
44 
49  [__DynamicallyInvokable]
50  int Add(object value);
51 
56  [__DynamicallyInvokable]
57  bool Contains(object value);
58 
61  [__DynamicallyInvokable]
62  void Clear();
63 
67  [__DynamicallyInvokable]
68  int IndexOf(object value);
69 
78  [__DynamicallyInvokable]
79  void Insert(int index, object value);
80 
84  [__DynamicallyInvokable]
85  void Remove(object value);
86 
92  [__DynamicallyInvokable]
93  void RemoveAt(int index);
94  }
95 }
Represents a non-generic collection of objects that can be individually accessed by index.
Definition: IList.cs:8
void RemoveAt(int index)
Removes the T:System.Collections.IList item at the specified index.
void Insert(int index, object value)
Inserts an item to the T:System.Collections.IList at the specified index.
Definition: __Canon.cs:3
bool IsReadOnly
Gets a value indicating whether the T:System.Collections.IList is read-only.
Definition: IList.cs:30
void Clear()
Removes all items from the T:System.Collections.IList.
int IndexOf(object value)
Determines the index of a specific item in the T:System.Collections.IList.
bool IsFixedSize
Gets a value indicating whether the T:System.Collections.IList has a fixed size.
Definition: IList.cs:40
Exposes an enumerator, which supports a simple iteration over a non-generic collection....
Definition: IEnumerable.cs:9
int Add(object value)
Adds an item to the T:System.Collections.IList.
void Remove(object value)
Removes the first occurrence of a specific object from the T:System.Collections.IList.
bool Contains(object value)
Determines whether the T:System.Collections.IList contains a specific value.
Defines size, enumerators, and synchronization methods for all nongeneric collections.
Definition: ICollection.cs:8