Defined in:Removes an object from an array.
void RemoveArrayElement(int32 index);
||The location at which to remove an object.|
RemoveArrayElementfunction decreases the size of an array by one, destroys the object at location
index, and moves all of the existing elements at location
index + 1or greater down by one. When the existing elements are moved, they are move-constructed to their new locations, and the old objects are destroyed.
indexparameter is greater than or equal to the current size of the array, then calling the
RemoveArrayElementfunction has no effect.