This document is archived and information here might be outdated.  Recommended version.

IElement.Locked Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElement Interface > IElement.Locked Property
ArcGIS Developer Help

IElement.Locked Property

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

[Visual Basic .NET]
Public Property Locked As Boolean
public bool Locked {get; set;}
HRESULT get_Locked(
  Boolean* pLocked
HRESULT put_Locked(
pLocked [out, retval]

pLocked is a parameter of type bool* pLocked [in]
pLocked is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


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


See Also

IElement Interface