แก้ไข

แชร์ผ่าน


ModelMetadata.IsReadOnly Property

Definition

Gets or sets a value that specifies whether the model can be updated.

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

Property Value

true if the model is read-only; otherwise, false The default is false.

Applies to