API Reference > Extension Classes > ExServices Classes > OdWrFileBuf Class > OdWrFileBuf Methods > createObject Method > OdWrFileBuf::createObject Method ()
OdWrFileBuf::createObject Method ()
Syntax
C++
static OdWrFileBufPtr createObject(); static OdWrFileBufPtr createObject(const OdString& filename, Oda::FileShareMode shareMode = Oda::kShareDenyNo);
Parameters 
Description 
const OdString& filename 
[in] Filename.  
Oda::FileShareMode shareMode = Oda::kShareDenyNo 
[in] Share mode.  
accessMode 
[in] Access mode.  
creationDisposition 
[in] Creation disposition. 

Opens filename if specified.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.