| CorArray: Clear |
Clears a portion of the elements in an array.
Public Sub Clear( ByRef Arr As Variant, ByVal Index As Long, ByVal Length As Long )
| Exception | Condition |
|---|---|
| ArgumentNullException | Arr is uninitialized. |
| IndexOutOfRangeException |
Index is less than the lower-bound of Arr. -or- Length is less than zero. -or- The sum of Index and Length is greater than the upper-bound of Arr. |