ConfigurationElement.LockItem Property
.NET Framework (current version)
Gets or sets a value indicating whether the element is locked.
Assembly: System.Configuration (in System.Configuration.dll)
Property Value
Type: System.Booleantrue if the element is locked; otherwise, false. The default is false.
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | The element has already been locked at a higher configuration level. |
Use the LockItem property if you want to put a general lock on the element itself and its child elements.
.NET Framework
Available since 2.0
Available since 2.0
Show: