ModelStateDictionary.Clear Method

Definition

Removes all items from the model-state dictionary.

public void Clear ();
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Public Sub Clear ()

Implements

Exceptions

The model-state dictionary is read-only.

Applies to