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)

'Declaration
<SerializableAttribute> _
Public Class ModelErrorCollection _
	Inherits Collection(Of ModelError)
'Usage
Dim instance As ModelErrorCollection

The ModelErrorCollection type exposes the following members.

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

  NameDescription
Public propertyCount (Inherited from Collection(Of ModelError).)
Public propertyItem (Inherited from Collection(Of ModelError).)
Protected propertyItems (Inherited from Collection(Of 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(Of ModelError).)
Public methodClear (Inherited from Collection(Of ModelError).)
Protected methodClearItems (Inherited from Collection(Of ModelError).)
Public methodContains (Inherited from Collection(Of ModelError).)
Public methodCopyTo (Inherited from Collection(Of ModelError).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator (Inherited from Collection(Of ModelError).)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf (Inherited from Collection(Of ModelError).)
Public methodInsert (Inherited from Collection(Of ModelError).)
Protected methodInsertItem (Inherited from Collection(Of ModelError).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove (Inherited from Collection(Of ModelError).)
Public methodRemoveAt (Inherited from Collection(Of ModelError).)
Protected methodRemoveItem (Inherited from Collection(Of ModelError).)
Protected methodSetItem (Inherited from Collection(Of ModelError).)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIList.Add (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate methodIList.Contains (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate methodICollection.CopyTo (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate methodIEnumerable.GetEnumerator (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate methodIList.IndexOf (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate methodIList.Insert (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate propertyIList.IsFixedSize (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate propertyICollection(Of T).IsReadOnly (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate propertyIList.IsReadOnly (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate propertyICollection.IsSynchronized (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate propertyIList.Item (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate methodIList.Remove (Inherited from Collection(Of ModelError).)
Explicit interface implemetationPrivate propertyICollection.SyncRoot (Inherited from Collection(Of 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