Removes a object with the specified key from the map.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public virtual int Erase(
string key
)
Parameters
- key String
- The key of the item to be erased.
Return Value
Int32The number of items that were erased from the map.
See Also
Reference