Page.UpdateModel<'TModel> Method ('TModel, IValueProvider)
.NET Framework (current version)
Updates the specified model instance using values from a specified value provider.
Assembly: System.Web (in System.Web.dll)
abstract UpdateModel<'TModel when 'TModel : not struct> : model:'TModel * valueProvider:IValueProvider -> unit override UpdateModel<'TModel when 'TModel : not struct> : model:'TModel * valueProvider:IValueProvider -> unit
Parameters
- model
-
Type:
TModel
The model.
- valueProvider
-
Type:
System.Web.ModelBinding.IValueProvider
The value provider.
Type Parameters
- TModel
The type of the model.
For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.
.NET Framework
Available since 4.5
Available since 4.5
Show: