ElementInformation.IsLocked Property

 

Gets a value that indicates whether the associated ConfigurationElement object cannot be modified.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

member IsLocked : bool with get

Property Value

Type: System.Boolean

true if the associated ConfigurationElement object cannot be modified; otherwise, false.

The IsLocked property returns true when the related element is locked by the AllowOverride, AllowDefinition, or LockAllAttributesExcept property.

The following example shows how to use the IsLocked property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: