ModelMetadata.IsReadOnly Property

Visual Studio 2010

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public virtual bool IsReadOnly { get; set; }

Property Value

Type: System.Boolean
true if the model is read-only; otherwise, false.

Community Additions

ADD
Show: