LineTypeKeyedCollection.InsertItem Method

Inserts an element into the KeyedCollection<TKey, TItem> at the specified index.
Protected Overrides Sub InsertItem( _ 
ByVal index As Integer, _ 
ByVal type As LineType
)
This language is not supported or no code example is available.
protected override void InsertItem( 
int index
LineType type 
)
This language is not supported or no code example is available.

Parameters

index
int

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

type
LineType

Exception type Condition

ArgumentOutOfRangeException

index is less than 0. -or- index is greater than Collection`Count.

.NET Framework

Supported in: 4.8

In this article

Definition