---
title: version
framework: Core Foundation
role: symbol
role_heading: Instance Property
path: corefoundation/cftreecontext/version
---

# version

The version number of the structure type being passed in as a parameter to a CFTree creation function. This structure is version 0.

## Declaration

```swift
var version: CFIndex
```
