Sage Modeling and Simulation Library

WeakList..::..Insert Method

Inserts an item to the IList at the specified index.

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public void Insert(
	int index,
	Object value
)

Parameters

index
Type: Int32
The zero-based index at which value should be inserted.
value
Type: Object
The Object to insert into the IList.

Exceptions


ExceptionCondition
ArgumentOutOfRangeExceptionindex is not a valid index in the IList.
NotSupportedExceptionThe IList is read-only.-or- The IList has a fixed size.
NullReferenceExceptionvalue is null reference in the IList.