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

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

 

Returns the Object ID of the removed field if successful, or a null Object ID if not.

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