ElementCanBeLocked Method

Identifies if the element can be locked.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool CanBeLocked()

Return Value

Boolean
True if the element can be locked, false otherwise.
See Also