SetElement

SetElement(IList, int, object, ListInstanceType)

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

Description

Set the element.

Parameters

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

Returns

The resulting instance of the change