ModelStateDictionary.Remove 메서드

정의

사전에서 요소를 제거합니다.

오버로드

Name Description
Remove(KeyValuePair<String,ModelState>)

모델 상태 사전에서 지정된 항목의 첫 번째 항목을 제거합니다.

Remove(String)

사전에서 지정된 키가 있는 항목을 제거합니다.

Remove(KeyValuePair<String,ModelState>)

모델 상태 사전에서 지정된 항목의 첫 번째 항목을 제거합니다.

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Web::ModelBinding::ModelState ^> item);
public bool Remove(System.Collections.Generic.KeyValuePair<string,System.Web.ModelBinding.ModelState> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, System.Web.ModelBinding.ModelState> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, System.Web.ModelBinding.ModelState> -> bool
Public Function Remove (item As KeyValuePair(Of String, ModelState)) As Boolean

매개 변수

item
KeyValuePair<String,ModelState>

제거할 항목입니다.

반품

true 항목이 사전에서 성공적으로 제거되었거나 false 항목이 제거되지 않았거나 사전에서 찾을 수 없는 경우

구현

적용 대상

Remove(String)

사전에서 지정된 키가 있는 항목을 제거합니다.

public:
 virtual bool Remove(System::String ^ key);
public bool Remove(string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

매개 변수

key
String

제거할 항목의 키입니다.

반품

true 항목이 사전에서 성공적으로 제거되었거나 false 항목이 제거되지 않았거나 사전에서 찾을 수 없는 경우

구현

적용 대상