TableCellCollection::IList::Insert Method (Int32, Object^)

 

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

Inserts an object into the collection at the specified index.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

private:
virtual void Insert(
	int index,
	Object^ o
) sealed = IList::Insert

Parameters

index
Type: System::Int32

The zero-based index within the collection at which to insert the object.

o
Type: System::Object^

The object to insert into the collection.

Typically, you should use the AddAt method to add an element to a TableCellCollection object.

The IList::Insert method is an explicit interface member implementation. It can be used only when the TableCellCollection instance is cast to an IList interface.

.NET Framework
Available since 1.1
Return to top
Show: