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 the 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 object, which can then be used to get items from the collection.

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

Use foreach (C#) or For Each (Visual Basic) to iterate through 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 the control. This class cannot be inherited.

- 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 into the specified object, starting at the specified index.

  The parameter must be a zero-based object.

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

  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 that can be used to iterate through each item in the .

  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 back to the initial position.

  After you create a 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 interface that can iterate through all the objects in the .

  A interface 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 can be written to in all cases.

  Gets a value that indicates whether the objects in the 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 class 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 is synchronized (thread-safe).

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.UI.WebControls.RepeaterItem `` 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