---
title: MLDataValue.DictionaryType
framework: createml
role: symbol
role_heading: Structure
path: createml/mldatavalue/dictionarytype
---

# MLDataValue.DictionaryType

A dictionary of named data values.

## Declaration

```swift
struct DictionaryType
```

## Topics

### Creating a dictionary type

- [init(_:)](createml/mldatavalue/dictionarytype/init(_:).md)
- [init(uniqueKeysWithValues:)](createml/mldatavalue/dictionarytype/init(uniquekeyswithvalues:).md)
- [MLDataValue.DictionaryType.Key](createml/mldatavalue/dictionarytype/key.md)
- [MLDataValue.DictionaryType.Value](createml/mldatavalue/dictionarytype/value.md)

### Getting an element

- [subscript(_:)](createml/mldatavalue/dictionarytype/subscript(_:).md)

### Default Implementations

- [MLDataValueConvertible Implementations](createml/mldatavalue/dictionarytype/mldatavalueconvertible-implementations.md)

## Relationships

### Conforms To

- [Collection](swift/collection.md)
- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [MLDataValueConvertible](createml/mldatavalueconvertible.md)
- [Sequence](swift/sequence.md)

## See Also

### Accessing dictionary values

- [dictionaryValue](createml/mldatavalue/dictionaryvalue.md)
