This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElement Interface > IElement.Locked Property (ArcObjects .NET 10.5 SDK) |
Indicates if the element is in a read-only state.
[Visual Basic .NET] Public Property Locked As Boolean
[C#] public bool Locked {get; set;}
[C++]
HRESULT get_Locked(
VARIANT_BOOL* pLocked
);
[C++]
HRESULT put_Locked(
VARIANT_BOOL pLocked
);
[C++]
Parameters pLocked [out, retval] pLocked is a parameter of type VARIANT_BOOL pLocked [in] pLocked is a parameter of type VARIANT_BOOL
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.