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) -> OSErrParameters
- 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.
AEDeleteItemreturns 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.