ConfigurationElementCollection.SetReadOnly Method ()


This API supports the product infrastructure and is not intended to be used directly from your code.

Sets the IsReadOnly property for the ConfigurationElementCollection object and for all sub-elements.

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

override SetReadOnly : unit -> unit

This method is used internally to set aside those system configuration elements that cannot be modified. To determine which elements are modifiable, call the IsReadOnly method.

.NET Framework
Available since 2.0
Return to top