ModelMethodContext::TryUpdateModel<TModel> Method (TModel)
.NET Framework (current version)
Updates the specified model instance using values from a value provider.
Assembly: System.Web (in System.Web.dll)
public: generic<typename TModel> where TModel : ref class virtual bool TryUpdateModel( TModel model )
Parameters
- model
-
Type:
TModel
The model.
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: