ConfigurationElementCollection.IsReadOnly 方法

定义

指示 ConfigurationElementCollection 对象是否为只读的。Indicates whether the ConfigurationElementCollection object is read only.

public:
 override bool IsReadOnly();
public override bool IsReadOnly ();
override this.IsReadOnly : unit -> bool
Public Overrides Function IsReadOnly () As Boolean

返回

如果 true 对象为只读,则为 ConfigurationElementCollection;否则为 falsetrue if the ConfigurationElementCollection object is read only; otherwise, false.

注解

系统定义无法修改的配置元素。The system defines configuration elements that cannot be modified. 调用此方法以确定是否可以修改元素。Call this method to determine whether elements can be modified.

适用于