Gets a string representing the content type of the document.
The content type is a MIME type, such as text/plain
. Cannot be null
. When uploading a document that contains non-ascii characters (particularly, European accented letters), SetContentType
needs to be called to set the content type to text/xml;charset=iso-8859-1
prior to calling IDocumentManager.InsertNewDocument
.
Exception Type | Condition |
---|---|
InvalidOperationException | The document has not yet been inserted or has already been removed. |
IDocument Interface | Plumtree.Remote.PRC.Collaboration.Document Namespace