API Reference > OdDb Classes > OdDbField Class > OdDbField Methods > OdDbField::setInObject Method
OdDbField::setInObject Method
Syntax
C++
OdResult setInObject(OdDbObject* pOwner, const OdString& propertyName);
Parameters 
Description 
OdDbObject* pOwner 
[in] Pointer to the Owner object.  
const OdString& propertyName 
[in] Name of the property. 

Sets this Field object as a property of the specified object, and adds it to the database. 

 

The specified object must be database resident.

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