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
);
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 Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)