Deletes the vector at a specified index from a vector group.
Input Arguments
0 |
Collection Object Name |
Vector Group Name |
The name of the vector group in which the vector to delete is located. |
1 |
Integer |
Vector Index |
The index of the vector to delete. |
Return Arguments
None.
Returned Status
SUCCESS |
The vector was deleted successfully. |
FAILURE |
The vector group was not found, or an invalid index was supplied. |
Remarks
Since this command alters the number of vectors in a group, caution should be exercised when iterating through a vector group and deleting vectors to ensure that you do not attempt to iterate past the end of the vector group. Vector group indices are zero-based, so the first vector in a vector group is at index 0.