---
title: CNContainerType
framework: contacts
role: symbol
role_heading: Enumeration
path: contacts/cncontainertype
---

# CNContainerType

The container may be local on the device or associated with a server account that has contacts.

## Declaration

```swift
enum CNContainerType
```

## Topics

### Constants

- [CNContainerType.local](contacts/cncontainertype/local.md)
- [CNContainerType.exchange](contacts/cncontainertype/exchange.md)
- [CNContainerType.cardDAV](contacts/cncontainertype/carddav.md)
- [CNContainerType.unassigned](contacts/cncontainertype/unassigned.md)

### Initializers

- [init(rawValue:)](contacts/cncontainertype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting the Container Information

- [name](contacts/cncontainer/name.md)
- [identifier](contacts/cncontainer/identifier.md)
- [type](contacts/cncontainer/type.md)
