Important: The information in this document is obsolete and should not be used for new development.
AEDeleteItem
You can use theAEDeleteItemfunction to delete a descriptor record from a descriptor list. All subsequent descriptor records will then move up one place.
FUNCTION AEDeleteItem (theAEDescList: AEDescList; index: LongInt): OSErr;
theAEDescList- The descriptor list containing the descriptor record to be deleted.
index- The position of the descriptor record to delete (for example, 2 specifies the second item).
RESULT CODES
noErr 0 No error errAEDescNotFound -1701 Descriptor record was not found errAENotAEDesc -1704 Not a valid descriptor record errAEBadListItem -1705 Operation involving a list item failed