Sdílet prostřednictvím


ModelStateDictionary.IsReadOnly Property

Gets a value that indicates whether the collection is read-only.

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

Syntax

'Declaration
Public ReadOnly Property IsReadOnly As Boolean
    Get
public bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () sealed;
}

Property Value

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

Implements

ICollection<T>.IsReadOnly

See Also

Reference

ModelStateDictionary Class

System.Web.Mvc Namespace