API Reference > OdDb Classes > OdDbField Class > OdDbField Methods > OdDbField::setField Method
OdDbField::setField Method
Syntax
C++
virtual OdDbObjectId setField(const OdString& propName, OdDbField* pField);
Parameters 
Description 
OdDbField* pField 
[in] Pointer to the field object. 
fieldName 
[in] Name (key) for the new entry.  

Returns the Object ID of the new entry.

Adds the specified field to the field dictionary of this object. 

 

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