---
title: "VTSessionSetProperties(_:propertyDictionary:)"
framework: videotoolbox
role: symbol
role_heading: Function
path: "videotoolbox/vtsessionsetproperties(_:propertydictionary:)"
---

# VTSessionSetProperties(_:propertyDictionary:)

Sets multiple properties at once.

## Declaration

```swift
func VTSessionSetProperties(_ session: VTSession, propertyDictionary: CFDictionary) -> OSStatus
```

## Discussion

Discussion Sets the properties specified by keys in propertyDictionary to the corresponding values.

## Topics

### Related Documentation

- [Compression Properties](videotoolbox/compression-properties.md)
- [Decompression Properties](videotoolbox/decompression-properties.md)
- [Pixel Transfer Properties](videotoolbox/pixel-transfer-properties.md)

## See Also

### Setting Properties

- [VTSessionSetProperty(_:key:value:)](videotoolbox/vtsessionsetproperty(_:key:value:).md)
