Share

ColorFillScheme.CanRemoveEntry Method

Checks whether entry can be removed from the scheme.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public bool CanRemoveEntry(
	ColorFillSchemeEntry entry
)

Parameters

entry  ColorFillSchemeEntry
The entry to remove.

Return Value

Boolean
Returns true if entry can be removed from the scheme, false otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

An entry cannot be removed if it is in use or does not exist in the scheme.

See Also

Reference

Was this information helpful?