ModelErrorCollection Class

 

A collection of ModelError instances.

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


[SerializableAttribute]
public ref class ModelErrorCollection : Collection<ModelError^>

NameDescription
System_CAPS_pubmethodModelErrorCollection()

Initializes a new instance of the ModelErrorCollection class.

NameDescription
System_CAPS_pubpropertyCount

(Inherited from Collection<T>.)

System_CAPS_pubpropertyItem[Int32]

(Inherited from Collection<T>.)

System_CAPS_protpropertyItems

(Inherited from Collection<T>.)

NameDescription
System_CAPS_pubmethodAdd(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodAdd(Exception^)

Adds the specified Exception object to the model-error collection.

System_CAPS_pubmethodAdd(String^)

Adds the specified error message to the model-error collection.

System_CAPS_pubmethodClear()

(Inherited from Collection<T>.)

System_CAPS_protmethodClearItems()

(Inherited from Collection<T>.)

System_CAPS_pubmethodContains(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodCopyTo(array<T>^, Int32)

(Inherited from Collection<T>.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

(Inherited from Collection<T>.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodInsert(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_protmethodInsertItem(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodRemoveAt(Int32)

(Inherited from Collection<T>.)

System_CAPS_protmethodRemoveItem(Int32)

(Inherited from Collection<T>.)

System_CAPS_protmethodSetItem(Int32, T)

(Inherited from Collection<T>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsSerializable<ModelError^>()

Convenience API to allow an IEnumerable{T} (such as returned by Linq2Sql) to be serialized by DataContractSerilizer.(Defined by IEnumerableExtensions.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: