ConfigurationElementCollection.SetReadOnly Method

Definition

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

protected:
 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 ()

Remarks

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