Table of Contents

Method Insert

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Insert(int, object?)

Inserts an item to the IList at the specified index.

public abstract void Insert(int index, object? value)

Parameters

index int

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

value object

The object to insert into the IList.

Exceptions

ArgumentOutOfRangeException

index is not a valid index in the IList.

NotSupportedException

The IList is read-only.

-or-

The IList has a fixed size.

NullReferenceException

value is null reference in the IList.