MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
void MgByteSource::SetMimeType ( CREFSTRING  mimeType)

Sets the mime type of the data. See MgMimeType for list of supported mime types.

.NET Syntax
void SetMimeType(string mimeType);
Java Syntax
void SetMimeType(String mimeType);
PHP Syntax
void SetMimeType(string mimeType);
Parameters:
mimeType(String/string) Mime type for byte source
Returns:
string representing the type, for example text/xml