Contents

AEDeleteItem(_:_:)

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

Declaration

func AEDeleteItem(_ theAEDescList: UnsafeMutablePointer<AEDescList>!, _ index: Int) -> OSErr

Parameters

  • theAEDescList:

    A pointer to the descriptor list containing the descriptor to delete. See Aedesclist.

  • index:

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

Return Value

A result code. See Result Codes.

Discussion

Thread safe starting in OS X v10.2.

See Also

Deleting Descriptors