API Reference > OdDAI Namespace > Classes > Schema Class > Schema Methods > Schema::writeToFile Method
Schema::writeToFile Method
Syntax
C++
OdResult writeToFile(const OdString& fileName) const;
Parameters 
Description 
const OdString& fileName 
[in] A string that contains the full path to the output file to write data.  

eOk if the data was successfully written; otherwise, the method returns an appropriate error code.

Writes data from the schema object to a physical file.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.