Share via


ModelStateDictionary.IsReadOnly Property

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

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public ReadOnly Property IsReadOnly As Boolean
    Get
'Usage
Dim instance As ModelStateDictionary
Dim value As Boolean

value = instance.IsReadOnly
public bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () sealed;
}
abstract IsReadOnly : bool
override IsReadOnly : bool
final function get IsReadOnly () : boolean

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.Http.ModelBinding Namespace