RVTDocs.com
Namespace: Autodesk.Revit.DB Class: BindingMap

BindingMap.Erase

Method
Description:
This method is used to erase one item in the map.
Remarks:
The method Erase inherited from base class is not permitted for this class. A Autodesk::Revit::Exceptions::InvalidOperationException will be thrown. Use Remove() instead to remove the binding from the Revit session and from the map.
Syntax
public override int Erase(
	Definition key
)
Parameters
Parameter Type Description
key Definition
Return Value