Removes a vector from the list.
Call Remove to remove a vector from the list. For multithreading purposes, the list is locked before the removing operation begins and unlocked afterwards.
Remove returns either the index of the removed vector or –1, if the interface was not found.
Note |
---|
The list only stores pointers to the vectors. Removing a vector from the list decreases the vectors reference count by 1. The vector is freed only if there are no more references to it. |
Namespace: RSVector
Delphi |
public |
Parameters
Item
Type: IVector
Type: Integer
Reference•RSVector.TRSVectorList.Add(IVector) •RSVector.TRSVectorList.Insert(Integer,IVector) •Delete •Clear |