Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberSession


GetCyberItemTypeFromContentType

Converts an OpenDoc value type to a Cyberdog item value type.

ODValueType GetCyberItemTypeFromContentType (in ODValueType contentType);
contentType
An OpenDoc value type you want to convert.
return value
The corresponding Cyberdog item value type.
DISCUSSION
You use this method to convert an OpenDoc value type to a Cyberdog item value type; typically, in order to display a Cyberdog item icon instead of a content icon. You are responsible for deallocating the returned ODValueType object when you have finished using it.

Do not subclass this class.

SEE ALSO
The GetISOTypeFromMIMEType method (page 363).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996