ConfigurationElementCollection.SetReadOnly ConfigurationElementCollection.SetReadOnly ConfigurationElementCollection.SetReadOnly ConfigurationElementCollection.SetReadOnly Method

Definition

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

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