Editare

Partajați prin


TableLayoutStyleCollection.IList.Insert(Int32, Object) Method

Definition

For a description of this method, see the Insert(Int32, Object) method.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ style) = System::Collections::IList::Insert;
void IList.Insert (int index, object style);
void IList.Insert (int index, object? style);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, style As Object) Implements IList.Insert

Parameters

index
Int32

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

style
Object

The Object to insert into the IList.

Implements

Exceptions

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

-or-

.NET 8 and later only: style can't be converted to type TableLayoutStyle.

Remarks

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

Applies to