---
title: registerComponentNoDuplicates
framework: Core Services
role: symbol
role_heading: Enumeration Case
platforms: [Mac Catalyst 13.1+, macOS 10.0+]
path: coreservices/1516405-register_component_resource_flag/registercomponentnoduplicates
---

# registerComponentNoDuplicates

## Declaration

```occ
registerComponentNoDuplicates = 2
```

## Discussion

Specify this flag to indicate that if a component with identical characteristics to the one being registered already exists, then the new one should not be registered (`RegisterComponent` returns 0 in this situation). If you do not specify this flag, the component is registered even if a component with identical characteristics to the one being registered already exists.
