Parameters
- sequence
- The sequence whose elements should be added to the end of the elastic vector. The sequence itself cannot be
null
, but it can contain elements that arenull
.
null
, but it can contain elements that are null
.
null
, but it can contain elements that are null
.This method can be used in certain COM tools (such as Xojo) to convert keyed collections (whose elements cannot otherwise be enumerated in such tools) to an elastic vector, from which all the elements can then be extracted by index.
Note that with an empty elastic vector, and an actual sequence argument that is an array, the AddRange method still differs from the Assign method in that the Assign method takes over the (lower and upper) dimensions of the input array into the elastic vector, while the AddRange method (on an empty elastic vector) always results in an elastic vector with zero LowerBound.