ConfigurationElement.SetReadOnly ConfigurationElement.SetReadOnly ConfigurationElement.SetReadOnly ConfigurationElement.SetReadOnly Method

定義

設定 IsReadOnly() 物件和所有子項目的 ConfigurationElement 屬性。Sets the IsReadOnly() property for the ConfigurationElement object and all subelements.

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

備註

這個方法會在內部用來擱置無法修改的系統設定元素。This method is used internally to set aside those system-configuration elements that cannot be modified.

若要判斷哪些元素可以修改,請使用 IsReadOnly 方法。To determine which elements can be modified, use the IsReadOnly method.

適用於

另請參閱