Programmer's Guide > Interfaces > CMSObject interface > contentType attribute
  
contentType attribute
Specifies the type of the object's content.
For non-graphics, this may be one of the following values:
xml
sgml
html
text
ascii
For graphics and non-markup documents, this will be a file extension ("bmp", "gif", "jpg", "svg", "doc", etc.).
contentType
Access
read-write
Returns
String
Get throws
CMSException
Raised for any error.
Set throws
CMSException
Raised for any error.