Export (0) Print
Expand All

ModelStateDictionary.Add Method (KeyValuePair<String, ModelState>)

Adds the specified item to the model-state dictionary.

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

public void Add(
	KeyValuePair<string, ModelState> item
)

Parameters

item
Type: System.Collections.Generic.KeyValuePair<String, ModelState>
The object to add to the model-state dictionary.

Implements

ICollection<T>.Add(T)
Show:
© 2014 Microsoft