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 Formsでのモデル バインドの使用に関するチュートリアル シリーズについては、「モデル バインドとWeb Forms」を参照してください。

適用対象