Delen via


ModelStateDictionary.IsValid Property

Definition

Gets a value that indicates whether any error messages are associated with any model state in the model-state dictionary.

public bool IsValid { get; }
member this.IsValid : bool
Public ReadOnly Property IsValid As Boolean

Property Value

true if any error messages are associated with any model state in the dictionary; otherwise, false.

Applies to