ModelErrorCollection::Add Method

.NET Framework (current version)
 

Adds a validation error to the collection.

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

NameDescription
System_CAPS_pubmethodAdd(T)

Adds an object to the end of the Collection<T>. (Inherited from Collection<T>.)

System_CAPS_pubmethodAdd(Exception^)

Adds a validation error to the collection using the specified exception.

System_CAPS_pubmethodAdd(String^)

Adds a validation error to the collection using the specified error message string.

Return to top
Show: