ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 816
نمايش فراداده

TableCellCollection

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

This collection of TableCell and TableHeaderCell objects is used by the Cells property of the TableRow class.

public sealed class 

TableCellCollection : 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 TableCell

this [int

index ]{get; } // Public Instance Methods public int

Add (TableCell

cell ); public void

AddAt (int

index , TableCell

cell ); public void

AddRange (TableCell[ ]

cells ); public void

Clear ( ); // implements IList public void

CopyTo (Array

array , int

index ); // implements ICollection public int

GetCellIndex (TableCell

cell ); public IEnumerator

GetEnumerator ( ); // implements IEnumerable public void

Remove (TableCell

cell ); public void

RemoveAt (int

index ); // implements IList }

Returned By

TableRow.Cells