---
title: RemoveCustomProperty
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudiodriver/removecustomproperty
---

# RemoveCustomProperty

Removes a previously-added custom property object from the driver.

## Declaration

```occ
kern_return_t RemoveCustomProperty(IOUserAudioCustomProperty *in_custom_property);
```

## Parameters

- `in_custom_property`: An doc://com.apple.audiodriverkit/documentation/AudioDriverKit/IOUserAudioCustomProperty object to remove from the doc://com.apple.audiodriverkit/documentation/AudioDriverKit/IOUserAudioDriver.

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.

## See Also

### Working with Custom Properties

- [AddCustomProperty](audiodriverkit/iouseraudiodriver/addcustomproperty.md)
- [IOUserAudioCustomProperty](audiodriverkit/iouseraudiocustomproperty.md)
