ModelStateDictionary.ClearValidationState(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears ModelStateDictionary entries that match the key that is passed as parameter.
public:
void ClearValidationState(System::String ^ key);
public void ClearValidationState (string key);
member this.ClearValidationState : string -> unit
Public Sub ClearValidationState (key As String)
Parameters
- key
- String
The key of ModelStateDictionary to clear.