API Reference > Other Classes > OdFileDependencyManager Class > OdFileDependencyManager Methods > eraseEntry Method > OdFileDependencyManager::eraseEntry Method (OdString&, OdString&, bool)
OdFileDependencyManager::eraseEntry Method (OdString&, OdString&, bool)
Syntax
C++
virtual OdResult eraseEntry(const OdString& feature, const OdString& fullFileName, const bool forceRemove = false) = 0;
Parameters 
Description 
const OdString& feature 
[in] Name of the application or feature that created the entry.  
const OdString& fullFileName 
[in] Full name of file for the entry.  
const bool forceRemove = false 
[in] True to erases the entry regardless of its reference count. 

Erases the specified entry from the DWG section of the File Dependency List. 

 

If the reference count of the entry is 1, or forceRemove is true, the entry is erased. Otherwise, this function merely decrements the reference count.

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