Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetLength
GetMimeType
IsRewindable
MgByteReader
MgByteReader
MgByteReader
MgByteSink
MgByteSource
Read
Rewind
ToFile
ToString
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.