Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > RSVector > Classes > TRSVectorList > Methods

TRSVectorList.Remove(IVector) Method

Scroll Prev Top Next More

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.

noteNote

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

Parameters

Item

Type: IVector

Return Value

Type: Integer

Implements

IVectorList.Remove(IVector)
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb