---
title: includeDirectoriesPostOrder
framework: corefoundation
role: symbol
role_heading: Type Property
path: corefoundation/cfurlenumeratoroptions/includedirectoriespostorder
---

# includeDirectoriesPostOrder

If provided along with the descendRecursively option, the recursive enumerator returns a directory’s URL after returning the URLs of the directory’s descendents.

## Declaration

```swift
static var includeDirectoriesPostOrder: CFURLEnumeratorOptions { get }
```

## Discussion

Discussion A recursive post-order enumerator returns CFURLEnumeratorResult.directoryPostOrderSuccess when it returns a directory’s URL after returning the directory’s descendents.

## See Also

### Constants

- [descendRecursively](corefoundation/cfurlenumeratoroptions/descendrecursively.md)
- [skipInvisibles](corefoundation/cfurlenumeratoroptions/skipinvisibles.md)
- [generateFileReferenceURLs](corefoundation/cfurlenumeratoroptions/generatefilereferenceurls.md)
- [skipPackageContents](corefoundation/cfurlenumeratoroptions/skippackagecontents.md)
- [includeDirectoriesPreOrder](corefoundation/cfurlenumeratoroptions/includedirectoriespreorder.md)
