ConfigurationElementCollection.SetReadOnly Method


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

 override void SetReadOnly();
protected public:
 override void SetReadOnly();
protected override void SetReadOnly ();
protected internal override void SetReadOnly ();
override this.SetReadOnly : unit -> unit
Protected Overrides Sub SetReadOnly ()
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