---
title: "VTSessionCopySerializableProperties(_:allocator:dictionaryOut:)"
framework: videotoolbox
role: symbol
role_heading: Function
path: "videotoolbox/vtsessioncopyserializableproperties(_:allocator:dictionaryout:)"
---

# VTSessionCopySerializableProperties(_:allocator:dictionaryOut:)

Retrieves the set of serializable property keys and their current values.

## Declaration

```swift
func VTSessionCopySerializableProperties(_ session: VTSession, allocator: CFAllocator?, dictionaryOut: UnsafeMutablePointer<CFDictionary?>) -> OSStatus
```

## Parameters

- `session`: The session object.
- `allocator`: An allocator suitable for use when copying property values.
- `dictionaryOut`: A pointer to the properties dictionary.

## Discussion

Discussion The serializable properties are those which can be saved and applied to a different session. The caller must release the returned dictionary.

## See Also

### Getting Properties

- [VTSessionCopyProperty(_:key:allocator:valueOut:)](videotoolbox/vtsessioncopyproperty(_:key:allocator:valueout:).md)
- [VTSessionCopySupportedPropertyDictionary(_:supportedPropertyDictionaryOut:)](videotoolbox/vtsessioncopysupportedpropertydictionary(_:supportedpropertydictionaryout:).md)
- [Supported Property Dictionary Constants](videotoolbox/supported-dictionary-constants.md)
