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

# RemoveCustomProperty

Attempts to remove a custom property from the custom property.

## Declaration

```occ
virtual 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/IOUserAudioCustomProperty.

## Return Value

Return Value kIOReturnError

## Discussion

Discussion This method always returns kIOReturnError since a custom property can’t have a custom property.

## See Also

### Infrequently Used Functionality

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