Element.CanBeLocked Method

ElementCanBeLocked Method

Identifies if the element can be locked.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool CanBeLocked()
Public Function CanBeLocked As Boolean
public:
bool CanBeLocked()
member CanBeLocked : unit -> bool 

Return Value

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