Important: The information in this document is obsolete and should not be used for new development.
GetISOTypeFromMIMEType
Converts a MIME media type to an OpenDoc value type.
ODValueType GetISOTypeFromMIMEType (in char* mediaType);
mediaType
- A pointer to a null-terminated string that contains the MIME media type (for example, 'text/html').
- return value
- A corresponding OpenDoc value type.
DISCUSSION
Typically, you call this method when you need to determine the kind of part to create to display a Cyberdog item. You are responsible for deallocating the returnedODValueType
object when you have finished using it.Do not subclass this class.
SEE ALSO
Media Types and Part Kinds (page 183).
TheGetCyberItemTypeFromContentType
method (page 361).