Web API Reference MapGuide Open Source
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


Comments or suggestions? Send us feedback.