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

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

 

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