---
title: numberOfAttributes
framework: Core Foundation
role: symbol
role_heading: Instance Property
path: corefoundation/cfxmlattributelistdeclarationinfo/numberofattributes
---

# numberOfAttributes

The number of attributes in the array.

## Declaration

```swift
var numberOfAttributes: CFIndex
```
