---
title: "removeParamDescriptor(withKeyword:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsappleeventdescriptor/removeparamdescriptor(withkeyword:)"
---

# removeParamDescriptor(withKeyword:)

Removes the receiver’s parameter descriptor identified by the specified keyword.

## Declaration

```swift
func removeParamDescriptor(withKeyword keyword: AEKeyword)
```

## Parameters

- `keyword`: A keyword (a four-character code) that identifies the parameter descriptor to remove. Currently provides no indication if an error occurs.

## Discussion

Discussion The receiver must be an Apple event or Apple event record, both of which can contain parameters.

## See Also

### Working With Apple Event Descriptors

- [attributeDescriptor(forKeyword:)](foundation/nsappleeventdescriptor/attributedescriptor(forkeyword:).md)
- [eventClass](foundation/nsappleeventdescriptor/eventclass.md)
- [eventID](foundation/nsappleeventdescriptor/eventid.md)
- [paramDescriptor(forKeyword:)](foundation/nsappleeventdescriptor/paramdescriptor(forkeyword:).md)
- [returnID](foundation/nsappleeventdescriptor/returnid.md)
- [setAttribute(_:forKeyword:)](foundation/nsappleeventdescriptor/setattribute(_:forkeyword:).md)
- [setParam(_:forKeyword:)](foundation/nsappleeventdescriptor/setparam(_:forkeyword:).md)
- [transactionID](foundation/nsappleeventdescriptor/transactionid.md)
