語言

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

適用於