Unique Integer CollectionInsert Item Method
Insert an integer into the collection
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
protected override void InsertItem(
int index,
int item
)VB
Protected Overrides Sub InsertItem (
index As Integer,
item As Integer
)C++
protected:
virtual void InsertItem(
int index,
int item
) overrideF#
abstract InsertItem :
index : int *
item : int -> unit
override InsertItem :
index : int *
item : int -> unit Parameters
Remarks
If the integer already exists in the collection, it will be moved to the new position
Exceptions
| ArgumentOutOfRangeException | This is thrown if the value is less than MinimumValue or greater than MaximumValue. |
| ArgumentException | This is thrown if the value is zero and zeros are not allowed in the collection. |