CFStringRef Class

Passes the string as a CFString reference. This is typically used on Mac OS X.

You can pass a regular REALbasic string to it and will be treated as a pointer to the memory contained within the MemoryBlock. Also, CFStringRef String does an implicit type conversion to String when you assign a CFStringRef to a String variable.

This data type can be used only with the Declare statement and it cannot be used to declare REALbasic variables, properties, and methods.

# See Also

Declare statement; Byte, CString, OSType, PString, Ptr, Short, UByte, UShort, WindowPtr, WString data types.