System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object System.Collections.ICollection

The class represents a collection of objects, which in turn represent the data items in a control. To programmatically retrieve objects from a control, use one of following methods:

Use the indexer to get a single object from the collection, using array notation.

Use the method to copy the contents of the collection to a , which can then be used to get items from the collection.

Use the method to create a interface, which can then be used to get items from the collection.

The property specifies the total number of items in the collection and is commonly used to determine the upper bound of the collection.

Represents a collection of objects in a control.

- Constructor

  Use this constructor to create and initialize a new instance of the class.

  Initializes a new instance of the class.

  A that contains the items with which to initialize the collection.
  1.0.5000.0
  2.0.0.0
- Method
  System.Void `` ``

  Use this method to copy the contents of the collection into the specified , starting at the specified index.

  The parameter must be a zero-based .

  Copies all the items from this collection to the specified , starting at the specified index in the .

  A zero-based that receives the copied items from the . The first position in the specified to receive the copied contents. 1.0.5000.0 2.0.0.0
- Property
  System.Int32 To be added: an object of type 'int'

  Use the property to determine the number of objects in the collection. The property is commonly used when iterating through the collection to determine the upper bound of the collection.

  Gets the number of objects in the collection.

  1.0.5000.0
  2.0.0.0
- Method
  System.Collections.IEnumerator

  Use this method to create a -implemented object that can be iterated through to get each item in the collection.

  Use the property to get the item currently pointed to in the collection.

  Use the method to move to the next item in the collection.

  Use the method to move the enumerator to its initial position.

  After you create a -implemented object or use the method to move the enumerator to the first item in the collection, you must call the method. Otherwise, the item represented by the property is undefined.

  Returns a -implemented object that contains all the objects in the collection.

  A -implemented object that contains all objects in the .

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  This property always returns false to indicate that the collection can be written to in all cases.

  Gets a value that indicates whether the objects in the collection can be modified.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  This property is derived from the interface and is overridden to always return false.

  For more information on the property, see the property of the interface.

  Gets a value indicating whether access to the collection is synchronized (thread-safe).

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.UI.WebControls.DataGridItem `` To be added. To be added. To be added. To be added. 1.0.5000.0 2.0.0.0
- Property
  System.Object To be added: an object of type 'object'

  The object returned in this implementation is the object itself.

  For more information on the property, see the property of the interface.

  Gets the object that can be used to synchronize access to the collection.

  1.0.5000.0
  2.0.0.0