KGy SOFT

VirtualCollectionTInsert Method

KGy SOFT Core Libraries Help

Namespace:  KGySoft.Collections.ObjectModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0-rc.1
Syntax

public void Insert(
	int index,
	T item
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.
item
Type: T
The object to insert.

Implements

IListTInsert(Int32, T)
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero, or greater than Count.
NotSupportedExceptionIsReadOnly returns .
See Also

Reference