---
title: kCFURLFileSizeKey
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/kcfurlfilesizekey
---

# kCFURLFileSizeKey

Key for the file’s size in bytes, returned as a CFNumber object.

## Declaration

```swift
let kCFURLFileSizeKey: CFString!
```

## See Also

### Constants

- [kCFURLFileAllocatedSizeKey](corefoundation/kcfurlfileallocatedsizekey.md)
- [kCFURLIsAliasFileKey](corefoundation/kcfurlisaliasfilekey.md)
- [kCFURLIsMountTriggerKey](corefoundation/kcfurlismounttriggerkey.md)
- [kCFURLTotalFileAllocatedSizeKey](corefoundation/kcfurltotalfileallocatedsizekey.md)
- [kCFURLTotalFileSizeKey](corefoundation/kcfurltotalfilesizekey.md)
