API Reference > Extension Classes > ExServices Classes > OdRdFileBuf Class > OdRdFileBuf Methods > createObject Method > OdRdFileBuf::createObject Method ()
OdRdFileBuf::createObject Method ()
Syntax
C++
static OdRdFileBufPtr createObject(); static OdRdFileBufPtr 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.