API Reference > OdDb Classes > OdDbObject Class > OdDbObject Methods > getField Method > OdDbObject::getField Method (OdString&, OdDb::OpenMode)
OdDbObject::getField Method (OdString&, OdDb::OpenMode)
Syntax
C++
OdDbObjectPtr getField(const OdString& fieldName, OdDb::OpenMode mode) const;
Parameters 
Description 
const OdString& fieldName 
[in] Name (key) for the new entry.  
OdDb::OpenMode mode 
[in] Open mode. 

Returns, and optionally opens, the specified field object from the field dictionary of this object. 

 

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