Dela via


ModelStateDictionary.ErrorCount Property

Definition

Gets the number of errors added to this instance of ModelStateDictionary via AddModelError or TryAddModelError.

public:
 property int ErrorCount { int get(); };
public int ErrorCount { get; }
member this.ErrorCount : int
Public ReadOnly Property ErrorCount As Integer

Property Value

Applies to