ConfigurationElement.SetReadOnly Method

Definition

Sets the IsReadOnly() property for the ConfigurationElement object and all subelements.

protected:
 virtual void SetReadOnly();
protected public:
 virtual void SetReadOnly();
protected virtual void SetReadOnly ();
protected internal virtual void SetReadOnly ();
abstract member SetReadOnly : unit -> unit
override this.SetReadOnly : unit -> unit
Protected Overridable Sub SetReadOnly ()
Protected Friend Overridable Sub SetReadOnly ()

Remarks

This method is used internally to set aside those system-configuration elements that cannot be modified.

To determine which elements can be modified, use the IsReadOnly method.

Applies to

See also