Share via


ViewDataDictionary<TModel>.SetModel(Object) Method

Definition

Sets the data model to use for the view.

protected override void SetModel (object value);
override this.SetModel : obj -> unit
Protected Overrides Sub SetModel (value As Object)

Parameters

value
Object

The data model to use for the view.

Exceptions

An error occurred while the model was being set.

Applies to