CFStringRef |
Header: CFBase.h |
A reference to a CFString object in Core Foundation.
typedef struct OpaqueCFStringRef* CFStringRef;
The CFStringRef type is a reference type used in many Core Foundation parameters and function results. It refers to a CFString object, which "encapsulates" a Unicode string along with its length. CFString is an opaque type, defined in Core Foundation's String Services, that defines the characteristics and behavior of CFString objects.
Values of type CFStringRef may refer to immutable or mutable strings, as mutable CFString objects respond to all functions intended for immutable CFString objects. Functions which accept CFStringRef values, and which need to hold on to the values immutably, should call CFStringCopy (instead of CFRetain) to do so.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)