---
title: entityType
framework: Core Foundation
role: symbol
role_heading: Instance Property
path: corefoundation/cfxmlentityreferenceinfo/entitytype
---

# entityType

The entity type code.

## Declaration

```swift
var entityType: CFXMLEntityTypeCode
```
