Enumeration

CFURLEnumeratorOptions

Options for controlling enumerator behavior.

Declaration

typedef enum CFURLEnumeratorOptions : CFOptionFlags {
    ...
} CFURLEnumeratorOptions;

Topics

Constants

kCFURLEnumeratorDefaultBehavior

The enumerator performs its default behavior.

kCFURLEnumeratorDescendRecursively

The enumerator recurses into each subdirectory enumerated.

kCFURLEnumeratorSkipInvisibles

The enumerator skips “hidden” or “invisible” objects.

kCFURLEnumeratorGenerateFileReferenceURLs

The enumerator generates file reference URLs instead of file path URLs.

kCFURLEnumeratorSkipPackageContents

The enumerator skips package directory contents.

kCFURLEnumeratorIncludeDirectoriesPreOrder

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

kCFURLEnumeratorIncludeDirectoriesPostOrder

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software