---
title: AddCustomProperty
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideocustomproperty/addcustomproperty
---

# AddCustomProperty

Always returns kIOReturnError because a custom property cannot have a custom property.

## Declaration

```occ
virtual kern_return_t AddCustomProperty(IOUserVideoCustomProperty *in_custom_property);
```

## See Also

### Working with custom properties

- [RemoveCustomProperty](videodriverkit/iouservideocustomproperty/removecustomproperty.md)
