Share via


Controller.ValidateModel Method

Definition

Overloads

ValidateModel(Object, String)

Validates the specified model instance using an HTML prefix.

ValidateModel(Object)

Validates the specified model instance.

ValidateModel(Object, String)

Validates the specified model instance using an HTML prefix.

protected internal void ValidateModel (object model, string prefix);
member this.ValidateModel : obj * string -> unit
Protected Friend Sub ValidateModel (model As Object, prefix As String)

Parameters

model
Object

The model to validate.

prefix
String

The prefix to use when looking up values in the model provider.

Applies to

ValidateModel(Object)

Validates the specified model instance.

protected internal void ValidateModel (object model);
member this.ValidateModel : obj -> unit
Protected Friend Sub ValidateModel (model As Object)

Parameters

model
Object

The model to validate.

Applies to