MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
void MgByteReader::ToFile ( CREFSTRING  fileName)

Writes the the contents of the reader to a file.

.NET Syntax
void ToFile(string fileName);
Java Syntax
void ToFile(String fileName);
PHP Syntax
void ToFile(string fileName);
Returns:
Returns nothing
Exceptions:
MgFileIoExceptionis thrown if file cannot be written