Controller.ValidateModel Controller.ValidateModel Controller.ValidateModel Method

Definition

Overloads

ValidateModel(Object, String) ValidateModel(Object, String) ValidateModel(Object, String)

Validates the specified model instance using an HTML prefix.

ValidateModel(Object) ValidateModel(Object) ValidateModel(Object)

Validates the specified model instance.

ValidateModel(Object, String) ValidateModel(Object, String) 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 Object Object

The model to validate.

prefix
String String String

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

ValidateModel(Object) ValidateModel(Object) 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 Object Object

The model to validate.

Applies to