TsgHashList.Remove

TsgHashList

  Classes Reference > List Classes > TsgHashList > Methods >

TsgHashList.Remove

TsgHashList

Previous pageReturn to chapter overviewNext page

Deletes the first reference to the Item parameter from the Items array.

Syntax

function Remove(const AValue: Pointer): Integer;

Description

Call Remove to remove a specific item from the Items array when its index is unknown. The value returned is the index of the item in the Items array before it was removed. After an item is removed, all the items that follow it are moved up in index position and the Count is reduced by one.

If the Items array contains more than one copy of the pointer, only the first copy is deleted.

Go to CAD VCL Enterprise