Share via

ConfigurationElement.SetReadOnly Method


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

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


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