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.
SectionInformation::IsLocked Property
.NET Framework (current version)
Gets a value that indicates whether the associated configuration section is locked.
Assembly: System.Configuration (in System.Configuration.dll)
The IsLocked property returns true when the related section is locked by the AllowOverride or the AllowDefinition property. A section is locked if it cannot be overridden or defined in the current configuration file.
The examples in this section show how to get the IsLocked property value after accessing the related section information in the configuration file.
The following example gets the SectionInformation object.
The following example gets the IsLocked value.
.NET Framework
Available since 2.0
Available since 2.0
Show: