ModelMetadata.IsReadOnly Property

Definition

Gets or sets a value that indicates whether the model is read-only.

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.

Applies to