Page.ModelState プロパティ

定義

モデルの状態とモデル バインド検証の状態を含むモデル状態ディクショナリ オブジェクトを取得します。

public:
 property System::Web::ModelBinding::ModelStateDictionary ^ ModelState { System::Web::ModelBinding::ModelStateDictionary ^ get(); };
public System.Web.ModelBinding.ModelStateDictionary ModelState { get; }
member this.ModelState : System.Web.ModelBinding.ModelStateDictionary
Public ReadOnly Property ModelState As ModelStateDictionary

プロパティ値

モデル状態ディクショナリ オブジェクト。

注釈

Web フォームでのモデル バインドの使用に関するチュートリアル シリーズについては、「 モデル バインドと Web フォーム」を参照してください。

適用対象