MutableObjectModelBinder.CanUpdateProperty Method (ModelMetadata)
.NET Framework (current version)
Returns a value that indicates whether a property can be updated.
Assembly: System.Web (in System.Web.dll)
Protected Overridable Function CanUpdateProperty ( propertyMetadata As ModelMetadata ) As Boolean
Parameters
- propertyMetadata
-
Type:
System.Web.ModelBinding.ModelMetadata
Metadata for the property to be evaluated.
A property can be updated if its ModelMetadata.IsReadOnly property value is false. If a property's ModelMetadata.IsReadOnly property value is true, the property can be updated if it is not a value type, a string, or an array.
.NET Framework
Available since 4.5
Available since 4.5
Show: