System.Web.UI.WebControls.TableRowCollection Members

The members of System.Web.UI.WebControls.TableRowCollection are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
Countint.

Gets the number of System.Web.UI.WebControls.TableRow objects in the System.Web.UI.WebControls.TableRowCollection.

[read-only]
IsReadOnlybool.

Gets a value indicating whether the System.Web.UI.WebControls.TableRowCollection is read-only.

[read-only]
IsSynchronizedbool.

Gets a value indicating whether access to the System.Web.UI.WebControls.TableRowCollection is synchronized (thread-safe).

[read-only]
default property
Item(int)TableRow. Documentation for this section has not yet been entered.
[read-only]
SyncRootobject.

Gets the object that can be used to synchronize access to the System.Web.UI.WebControls.TableRowCollection.

Public Methods

Add(TableRow) : int

Appends the specified System.Web.UI.WebControls.TableRow object to the end of the System.Web.UI.WebControls.TableRowCollection.

AddAt(int, TableRow)

Adds the specified System.Web.UI.WebControls.TableRow object to the System.Web.UI.WebControls.TableRowCollection at the specified index location.

AddRange(TableRow[])

Appends the System.Web.UI.WebControls.TableRow objects from the specified array to the end of the collection.

Clear()

Removes all System.Web.UI.WebControls.TableRow controls from the System.Web.UI.WebControls.TableRowCollection.

CopyTo(Array, int)

Copies the items from the System.Web.UI.WebControls.TableRowCollection to the specified Array, starting with the specified index in the Array.

GetEnumerator() : IEnumerator

Returns a IEnumerator implemented object that contains all System.Web.UI.WebControls.TableRow objects within the System.Web.UI.WebControls.TableRowCollection.

GetRowIndex(TableRow) : int

Returns a value that represents the index of the specified System.Web.UI.WebControls.TableRow from the System.Web.UI.WebControls.TableRowCollection.

Remove(TableRow)

Removes the specified System.Web.UI.WebControls.TableRow from the System.Web.UI.WebControls.TableRowCollection.

RemoveAt(int)

Removes a System.Web.UI.WebControls.TableRow from the System.Web.UI.WebControls.TableRowCollection at the specified index.

Explicitly Implemented Interface Members

IList.Add

Adds an object to the collection.

IList.Contains

Determines whether the specified object is contained within the collection.

IList.IndexOf

Searches for the specified object and returns the zero-based index of the first occurrence within the collection.

IList.Insert

Inserts an object into the collection at the specified index.

[read-only]
IList.IsFixedSizebool.

For a description of this member, see IList.IsFixedSize.

IList.Itemobject. Documentation for this section has not yet been entered.
IList.Remove

Removes an object from the collection.