ModelMethodContext::TryUpdateModel Method

.NET Framework (current version)
 

Updates the specified model instance using values from a value provider.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodTryUpdateModel<TModel>(TModel)

Updates the specified model instance using values from a value provider.

System_CAPS_pubmethodTryUpdateModel<TModel>(TModel, IValueProvider^)

Updates the specified model instance using values from the specified value provider.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Return to top
Show: