Click or drag to resize

ModelCollectionTInsert Method

Inserts an element at the specified position.

Namespace:  Dynamicweb.Analytics.Model
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public void Insert(
	int index,
	T item
)

Parameters

index
Type: SystemInt32
0-based index at which element should be inserted.
item
Type: T
Element to insert.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is null.
ArgumentOutOfRangeExceptionindex is less than zero or index is equal to or greater than Count.
See Also