ReadOnlyState.IsReadOnly 属性

定义

获取一个值,指示对象是否是只读的。

public:
 property bool IsReadOnly { bool get(); void set(bool value); };
public bool IsReadOnly { get; set; }
member this.IsReadOnly : bool with get, set
Public Property IsReadOnly As Boolean

属性值

Boolean

如果对象为只读,则为 true;否则为false

适用于