Bewerken

Delen via


Table.RowControlCollection Class

Definition

Represents the collection of TableRow objects in a Table control.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected: ref class Table::RowControlCollection : System::Web::UI::ControlCollection
protected class Table.RowControlCollection : System.Web.UI.ControlCollection
Protected Class Table.RowControlCollection
Inherits ControlCollection
Inheritance
Table.RowControlCollection

Remarks

A Table.RowControlCollection collection is returned by the Controls property of the Table control. Only TableRow objects can be added to this Table.RowControlCollection.

Properties

Count

Gets the number of server controls in the ControlCollection object for the specified ASP.NET server control.

(Inherited from ControlCollection)
IsReadOnly

Gets a value indicating whether the ControlCollection object is read-only.

(Inherited from ControlCollection)
IsSynchronized

Gets a value indicating whether the ControlCollection object is synchronized.

(Inherited from ControlCollection)
Item[Int32]

Gets a reference to the server control at the specified index location in the ControlCollection object.

(Inherited from ControlCollection)
Owner

Gets the ASP.NET server control to which the ControlCollection object belongs.

(Inherited from ControlCollection)
SyncRoot

Gets an object that can be used to synchronize access to the collection of controls.

(Inherited from ControlCollection)

Methods

Add(Control)

This API supports the product infrastructure and is not intended to be used directly from your code.

Adds the specified Control object to the Table.RowControlCollection collection.

AddAt(Int32, Control)

This API supports the product infrastructure and is not intended to be used directly from your code.

Adds the specified Control object to the Table.RowControlCollection collection. The new control is added to the array at the specified index location.

Clear()

Removes all controls from the current server control's ControlCollection object.

(Inherited from ControlCollection)
Contains(Control)

Determines whether the specified server control is in the parent server control's ControlCollection object.

(Inherited from ControlCollection)
CopyTo(Array, Int32)

Copies the child controls stored in the ControlCollection object to an Array object, beginning at the specified index location in the Array.

(Inherited from ControlCollection)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Retrieves an enumerator that can iterate through the ControlCollection object.

(Inherited from ControlCollection)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(Control)

Retrieves the index of a specified Control object in the collection.

(Inherited from ControlCollection)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(Control)

Removes the specified server control from the parent server control's ControlCollection object.

(Inherited from ControlCollection)
RemoveAt(Int32)

Removes a child control, at the specified index location, from the ControlCollection object.

(Inherited from ControlCollection)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also