次の方法で共有


ModelState.Errors プロパティ

定義

モデル バインド中に発生したエラーを格納している文字列のリストを返します。

public System.Collections.Generic.IList<string> Errors { get; }
member this.Errors : System.Collections.Generic.IList<string>
Public ReadOnly Property Errors As IList(Of String)

プロパティ値

モデル バインド中に発生したエラー。

適用対象