ConfigurationElement.SetReadOnly Methode
Definition
Legt die IsReadOnly()-Eigenschaft für das ConfigurationElement-Objekt und alle Unterelemente fest.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 ()
Hinweise
Diese Methode wird intern verwendet, um die Elemente der Systemkonfiguration außer Kraft zu setzen, die nicht geändert werden können.This method is used internally to set aside those system-configuration elements that cannot be modified.
Verwenden Sie die-Methode, um zu bestimmen, welche Elemente geändert werden können IsReadOnly .To determine which elements can be modified, use the IsReadOnly method.