Legacy Documentclose button

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

Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

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

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice