Web API Reference MapGuide Open Source
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:
MgFileIoException is thrown if file cannot be written


Comments or suggestions? Send us feedback.