共用方式為


ModelProperty.IsReadOnly 屬性

定義

判斷屬性是否為唯讀。

public:
 abstract property bool IsReadOnly { bool get(); };
public abstract bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public MustOverride ReadOnly Property IsReadOnly As Boolean

屬性值

如果屬性為唯讀,則為 true,否則為 false

適用於