ModelClientValidationRequiredRule Class

Represents the required rule for the validation of the model client.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ModelClientValidationRule
    System.Web.Mvc.ModelClientValidationRequiredRule

Namespace:  System.Web.Mvc
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Class ModelClientValidationRequiredRule _
    Inherits ModelClientValidationRule
'Usage
Dim instance As ModelClientValidationRequiredRule
public class ModelClientValidationRequiredRule : ModelClientValidationRule
public ref class ModelClientValidationRequiredRule : public ModelClientValidationRule
type ModelClientValidationRequiredRule =  
    class 
        inherit ModelClientValidationRule 
    end
public class ModelClientValidationRequiredRule extends ModelClientValidationRule

The ModelClientValidationRequiredRule type exposes the following members.

Constructors

  Name Description
Public method ModelClientValidationRequiredRule Initializes a new instance of the ModelClientValidationRequiredRule class.

Top

Properties

  Name Description
Public property ErrorMessage This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from ModelClientValidationRule.)
Public property ValidationParameters This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from ModelClientValidationRule.)
Public property ValidationType This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Inherited from ModelClientValidationRule.)

Top

Methods

  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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Mvc Namespace