DekGenius.com
[ Team LiB ] Previous Section Next Section

TableRowCollection

System.Web.UI.WebControls (system.web.dll)sealed class

This collection of TableRow objects is used by the Rows property of the Table class.

public sealed class TableRowCollection : IList, ICollection, IEnumerable {
// Public Instance Properties
   public int Count{get; }                          // implements ICollection
   public bool IsReadOnly{get; }                    // implements IList
   public bool IsSynchronized{get; }                // implements ICollection
   public object SyncRoot{get; }                    // implements ICollection
   public TableRow this[int index]{get; }
// Public Instance Methods
   public int Add(TableRow row);
   public void AddAt(int index, TableRow row);
   public void AddRange(TableRow[ ] rows);
   public void Clear( );                             // implements IList
   public void CopyTo(Array array, int index);                  // implements ICollection
   public IEnumerator GetEnumerator( );              // implements IEnumerable
   public int GetRowIndex(TableRow row);
   public void Remove(TableRow row);
   public void RemoveAt(int index);                // implements IList
}

Returned By

Table.Rows

    [ Team LiB ] Previous Section Next Section