ModelStateDictionary.IsValid Property

 

Gets a value that indicates whether this instance of the model-state dictionary is valid.

Namespace:   System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public bool IsValid { get; }
public:
property bool IsValid {
    bool get();
}
member IsValid : bool with get
Public ReadOnly Property IsValid As Boolean

Property Value

Type: System.Boolean

true if this instance is valid; otherwise, false.

See Also

ModelStateDictionary Class
System.Web.Http.ModelBinding Namespace

Return to top