Share via


ModelStateDictionary.Clear Method

Removes all items from the model-state dictionary.

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As ModelStateDictionary

instance.Clear()
public void Clear()
public:
virtual void Clear() sealed
abstract Clear : unit -> unit 
override Clear : unit -> unit 
public final function Clear()

Implements

ICollection<T>.Clear()

See Also

Reference

ModelStateDictionary Class

System.Web.Http.ModelBinding Namespace