다음을 통해 공유


ModelStateDictionary.Add 메서드

정의

오버로드

Add(KeyValuePair<String,ModelState>)

모델 상태 사전에 지정된 항목을 추가합니다.

Add(String, ModelState)

모델 상태 사전에 지정된 키와 값이 있는 항목을 추가합니다.

Add(KeyValuePair<String,ModelState>)

모델 상태 사전에 지정된 항목을 추가합니다.

public void Add (System.Collections.Generic.KeyValuePair<string,System.Web.WebPages.Html.ModelState> item);
abstract member Add : System.Collections.Generic.KeyValuePair<string, System.Web.WebPages.Html.ModelState> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<string, System.Web.WebPages.Html.ModelState> -> unit
Public Sub Add (item As KeyValuePair(Of String, ModelState))

매개 변수

item
KeyValuePair<String,ModelState>

모델 상태 사전에 추가할 항목입니다.

구현

적용 대상

Add(String, ModelState)

모델 상태 사전에 지정된 키와 값이 있는 항목을 추가합니다.

public void Add (string key, System.Web.WebPages.Html.ModelState value);
abstract member Add : string * System.Web.WebPages.Html.ModelState -> unit
override this.Add : string * System.Web.WebPages.Html.ModelState -> unit
Public Sub Add (key As String, value As ModelState)

매개 변수

key
String

키입니다.

value
ModelState

값입니다.

구현

적용 대상