InsertElement

InsertElement(IList, int, object, ListInstanceType)

public IList InsertElement(IList instance, int index, object element, ListInstanceType instanceType) ;

Description

Insert an element.

Parameters

Parameter Name Description
instance Instance of type IList<elementType>
index Index
element The element to insert
instanceType How to change the instance

Returns

The resulting instance of the change