Share via


ModelMetadata.IsReadOnly 屬性

定義

取得或設定值,這個值表示模型是否為唯讀。

public virtual bool IsReadOnly { get; set; }
member this.IsReadOnly : bool with get, set
Public Overridable Property IsReadOnly As Boolean

屬性值

如果模型是唯讀的,則為 true;否則為 false。

適用於