---
title: CFTreeGetTypeID()
framework: Core Foundation
role: symbol
role_heading: Function
path: corefoundation/cftreegettypeid()
---

# CFTreeGetTypeID()

Returns the type identifier of the CFTree opaque type.

## Declaration

```swift
func CFTreeGetTypeID() -> CFTypeID
```

## Return Value

Return Value The type identifier of the CFTree opaque type.
