This documentation is archived and is not being maintained.

TableRowCollection Members

TableRowCollection overview

Public Properties

public propertyCount Gets the number of TableRow objects in the TableRowCollection.
public propertyIsReadOnly Gets a value indicating whether the TableRowCollection is read-only.
public propertyIsSynchronized Gets a value indicating whether access to the TableRowCollection is synchronized (thread-safe).
public propertyItem Gets a TableRow from the TableRowCollection at the specified index.

In C#, this property is the indexer for the TableRowCollection class.

public propertySyncRoot Gets the object that can be used to synchronize access to the TableRowCollection.

Public Methods

public methodAdd Appends the specified TableRow to the end of the TableRowCollection.
public methodAddAt Adds the specified TableRow to the TableRowCollection at the specified index location.
public methodAddRange Appends the TableRow objects from the specified array to the end of the collection.
public methodClear Removes all TableRow controls from the TableRowCollection.
public methodCopyTo Copies the items from the TableRowCollection to the specified System.Array, starting with the specified index in the System.Array.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Returns an System.Collections.IEnumerator implemented object that contains all TableRow objects within the TableRowCollection.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetRowIndex Returns a value that represents the index of the specified TableRow from the TableRowCollection.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodRemove Removes the specified TableRow from the TableRowCollection.
public methodRemoveAt Removes a TableRow from the TableRowCollection at the specified index.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

TableRowCollection Class | System.Web.UI.WebControls Namespace

Show: