Carbon


AEDeleteItem

Header: AEDataModel.h Carbon status: Supported

Deletes a descriptor record from a descriptor list, causing all subsequent descriptor records to move up one place.

OSErr AEDeleteItem (
    AEDescList *theAEDescList, 
    SInt32 index
);
Parameter descriptions
theAEDescList

A pointer to the descriptor list containing the descriptor record to delete.

index

A one-based positive integer indicating the position of the descriptor record to delete. AEDeleteItem returns an error if you pass zero, a negative number, or a value that is out of range.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)