AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

STRING MgByteReader::ToString (  ) 

Returns the contents of the reader as a string. The mime type must be a text type, for example text/xml.

.NET Syntax
string ToString();
Java Syntax
String ToString();
PHP Syntax
string ToString();

Returns:
Text string of reader contents
Exceptions:
MgInvalidArgumentException is thrown if the reader does not contain text