Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
property bool IsLocked {
	bool 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: