AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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