API Reference > OdDb Classes > OdDbObject Class > OdDbObject Methods > removeField Method > OdDbObject::removeField Method (OdDbObjectId)
OdDbObject::removeField Method (OdDbObjectId)
Syntax
C++
virtual OdResult removeField(OdDbObjectId fieldId);
Parameters 
Description 
OdDbObjectId fieldId 
[in] Object ID for the field. 

Removes the specified field from the field dictionary of this object. 

 

Returns eOk if successful, or an appropriate error code if not.

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