This topic has not yet been rated - Rate this topic

ModelValidationResult Class

Provides a container for a validation result.

System.Object
  System.Web.Mvc.ModelValidationResult

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public class ModelValidationResult

The ModelValidationResult type exposes the following members.

  Name Description
Public method ModelValidationResult Initializes a new instance of the ModelValidationResult class.
Top
  Name Description
Public property MemberName Gets or sets the name of the member.
Public property Message Gets or sets the validation result message.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)