Export (0) Print
Expand All

ModelErrorCollection Class

A collection of ModelError instances.

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

[SerializableAttribute]
public class ModelErrorCollection : Collection<ModelError>

The ModelErrorCollection type exposes the following members.

  NameDescription
Public methodModelErrorCollectionInitializes a new instance of the ModelErrorCollection class.
Top

  NameDescription
Public propertyCount (Inherited from Collection<ModelError>.)
Public propertyItem (Inherited from Collection<ModelError>.)
Protected propertyItems (Inherited from Collection<ModelError>.)
Top

  NameDescription
Public methodAdd(Exception)Adds the specified Exception object to the model-error collection.
Public methodAdd(String)Adds the specified error message to the model-error collection.
Public methodAdd(T) (Inherited from Collection<ModelError>.)
Public methodClear (Inherited from Collection<ModelError>.)
Protected methodClearItems (Inherited from Collection<ModelError>.)
Public methodContains (Inherited from Collection<ModelError>.)
Public methodCopyTo (Inherited from Collection<ModelError>.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from Collection<ModelError>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf (Inherited from Collection<ModelError>.)
Public methodInsert (Inherited from Collection<ModelError>.)
Protected methodInsertItem (Inherited from Collection<ModelError>.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove (Inherited from Collection<ModelError>.)
Public methodRemoveAt (Inherited from Collection<ModelError>.)
Protected methodRemoveItem (Inherited from Collection<ModelError>.)
Protected methodSetItem (Inherited from Collection<ModelError>.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIList.Add (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate methodIList.Contains (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate methodICollection.CopyTo (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumerator (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate methodIList.IndexOf (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate methodIList.Insert (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate propertyIList.IsFixedSize (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate propertyICollection<T>.IsReadOnly (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate propertyIList.IsReadOnly (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronized (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate propertyIList.Item (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate methodIList.Remove (Inherited from Collection<ModelError>.)
Explicit interface implemetationPrivate propertyICollection.SyncRoot (Inherited from Collection<ModelError>.)
Top

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