Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 4 - Responding to Apple Events / Reference to Responding to Apple Events
Routines for Responding to Apple Events / Deleting Descriptor Records


AEDeleteItem

You can use the AEDeleteItem function 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
noErr0No error
errAEDescNotFound-1701Descriptor record was not found
errAENotAEDesc-1704Not a valid descriptor record
errAEBadListItem-1705Operation involving a list item failed

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996