mscorlib(4.0.0.0) API with additions
ICollection.cs
2 
4 {
7  [TypeDependency("System.SZArrayHelper")]
8  [__DynamicallyInvokable]
9  public interface ICollection<T> : IEnumerable<T>, IEnumerable
10  {
13  [__DynamicallyInvokable]
14  int Count
15  {
16  [__DynamicallyInvokable]
17  get;
18  }
19 
23  [__DynamicallyInvokable]
24  bool IsReadOnly
25  {
26  [__DynamicallyInvokable]
27  get;
28  }
29 
33  [__DynamicallyInvokable]
34  void Add(T item);
35 
38  [__DynamicallyInvokable]
39  void Clear();
40 
45  [__DynamicallyInvokable]
46  bool Contains(T item);
47 
56  [__DynamicallyInvokable]
57  void CopyTo(T[] array, int arrayIndex);
58 
64  [__DynamicallyInvokable]
65  bool Remove(T item);
66  }
67 }
Definition: __Canon.cs:3
bool Remove(T item)
Removes the first occurrence of a specific object from the T:System.Collections.Generic....
Exposes the enumerator, which supports a simple iteration over a collection of a specified type....
Definition: IEnumerable.cs:9
void CopyTo(T[] array, int arrayIndex)
Copies the elements of the T:System.Collections.Generic.ICollection`1 to an T:System....
Defines methods to manipulate generic collections.
Definition: ICollection.cs:9
bool Contains(T item)
Determines whether the T:System.Collections.Generic.ICollection`1 contains a specific value.
bool IsReadOnly
Gets a value indicating whether the T:System.Collections.Generic.ICollection`1 is read-only.
Definition: ICollection.cs:25
int Count
Gets the number of elements contained in the T:System.Collections.Generic.ICollection`1.
Definition: ICollection.cs:15
void Add(T item)
Adds an item to the T:System.Collections.Generic.ICollection`1.
void Clear()
Removes all items from the T:System.Collections.Generic.ICollection`1.