ArcObjects Component Help  (Core)    

IElement.Locked Property

Indicates if the element is in a read-only state.

[Visual Basic 6.0]
Property Locked As Boolean
[Visual Basic .NET]
Public Property Locked As Boolean
[C#]
public bool Locked {get; set;}
[C++]
public: __property bool get_Locked();
public: __property void set_Locked(bool );

Remarks

The Locked property indicates whether the specified element can be updated.  This property can be set to FALSE to stop users from modifying a particular element.