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

 

For a description of this method, see the IList::Insert method.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

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

Parameters

index
Type: System::Int32

The zero-based index at which style should be inserted.

style
Type: System::Object^

The Object to insert into the IList.

Exception Condition
ArgumentException

style is already assigned to another owner. You must first remove it from its current location or clone it.

This member is an explicit interface member implementation. It can be used only when the TableLayoutStyleCollection instance is cast to an IList interface.

.NET Framework
Available since 2.0
Return to top
Show: