UniqueIntegerCollectionInsertItem Method

Insert an integer into the collection

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
protected override void InsertItem(
	int index,
	int item
)

Parameters

index  Int32
The index at which to insert the integer
item  Int32
The integer to insert

Remarks

If the integer already exists in the collection, it will be moved to the new position

Exceptions

ArgumentOutOfRangeExceptionThis is thrown if the value is less than MinimumValue or greater than MaximumValue.
ArgumentExceptionThis is thrown if the value is zero and zeros are not allowed in the collection.

See Also