ModelStateDictionary.Remove ModelStateDictionary.Remove ModelStateDictionary.Remove ModelStateDictionary.Remove Method

정의

사전에서 요소를 제거합니다.Removes an element from the dictionary.

오버로드

Remove(KeyValuePair<String,ModelState>) Remove(KeyValuePair<String,ModelState>) Remove(KeyValuePair<String,ModelState>) Remove(KeyValuePair<String,ModelState>)

모델 상태 사전에서 맨 처음 발견되는 지정된 항목을 제거합니다.Removes the first occurrence of the specified item from the model-state dictionary.

Remove(String) Remove(String) Remove(String) Remove(String)

사전에서 지정된 키를 가진 항목을 제거합니다.Removes the item that has the specified key from the dictionary.

Remove(KeyValuePair<String,ModelState>) Remove(KeyValuePair<String,ModelState>) Remove(KeyValuePair<String,ModelState>) Remove(KeyValuePair<String,ModelState>)

모델 상태 사전에서 맨 처음 발견되는 지정된 항목을 제거합니다.Removes the first occurrence of the specified item from the model-state dictionary.

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>

제거할 항목입니다.The item to remove.

반환

항목이 사전에서 제거되었으면 true이고, 항목이 사전에서 제거되지 않았거나 없으면 false입니다.true if the item was successfully removed from the dictionary, or false if the item was not removed or was not found in the dictionary.

구현

Remove(String) Remove(String) Remove(String) Remove(String)

사전에서 지정된 키를 가진 항목을 제거합니다.Removes the item that has the specified key from the dictionary.

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 String String String

제거할 항목의 키입니다.The key of the item to remove.

반환

항목이 사전에서 제거되었으면 true이고, 항목이 사전에서 제거되지 않았거나 없으면 false입니다.true if the item was successfully removed from the dictionary, or false if the item was not removed or was not found in the dictionary.

구현

적용 대상