CrArray: ValueInsert

ValueInsert

add the specified element to the array at the specified index

 Public Function ValueInsert(
	  ByVal Value As Variant,
	  Optional Index As Variant ) As Boolean

Parameters

Value
[ByVal] Variant. element value
Index
[ByRef] Optional. Variant. index value at which to insert

Return Values

Boolean -  success

Remarks

The existing elements at and above the specified index are moved up.

See Also

Project crgenlib Overview Class CrArray Overview CrArray Properties CrArray Methods ValueGet ValueSet