Function

CFPropertyListIsValid

Determines if a property list is valid.

Declaration

Boolean CFPropertyListIsValid(CFPropertyListRef plist, CFPropertyListFormat format);

Parameters

plist

The property list to validate.

format

A constant that specifies the allowable format of plist. See CFPropertyListFormat for possible values.

Return Value

true if the object graph rooted at plist is a valid property list graph—that is, the property list contains no cycles, only contains property list objects, and all dictionary keys are strings; otherwise false.

Discussion

The debugging library version of this function prints out some useful messages.

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