ConfigurationElementCollection.SetReadOnly Method


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

protected public:
 override void SetReadOnly();
protected internal override void SetReadOnly ();
override this.SetReadOnly : unit -> unit
Protected Friend Overrides Sub SetReadOnly ()


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.

Applies to