ArcGIS Developer Help  (Carto)    

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;}
[Java]
public  getLocked (
    boolean pLocked
)
[Java]
public void setLocked(
    boolean pLocked
)
throws
    IOException,
    AutomationException
[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

Product Availability

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

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.

 

See Also

IElement Interface

 


Feedback Send feedback on this page