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

属性值

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

适用于