AddElement

AddElement(IList, object, ListInstanceType)

public IList AddElement(IList instance, object element, ListInstanceType instanceType) ;

Description

Add an element.

Parameters

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

Returns

The resulting instance of the change