RVTDocs.com

RemoveEntry

Method
Description:
Removes an entry whose parameter value is the same as the input from the scheme
Remarks:
The entry can not be removed if it is in use.
Syntax
public void RemoveEntry(
	ColorFillSchemeEntry entry
)
Parameters
Parameter Type Description
entry Autodesk.Revit.DB.ColorFillSchemeEntry The entry to remove.
Return Value
Exceptions
Exception Condition
Autodesk.Revit.Exceptions.ArgumentException The entry cannot be removed from the scheme.
Autodesk.Revit.Exceptions.ArgumentNullException A non-optional argument was null