ModelErrorCollection Class
A collection of ModelError instances.
System.Object
System.Collections.ObjectModel.Collection<ModelError>
System.Web.Mvc.ModelErrorCollection
System.Collections.ObjectModel.Collection<ModelError>
System.Web.Mvc.ModelErrorCollection
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The ModelErrorCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
ModelErrorCollection | Initializes a new instance of the ModelErrorCollection class. |
| Name | Description | |
|---|---|---|
|
Count | (Inherited from Collection<ModelError>.) |
|
Item | (Inherited from Collection<ModelError>.) |
|
Items | (Inherited from Collection<ModelError>.) |
| Name | Description | |
|---|---|---|
|
Add(Exception) | Adds the specified Exception object to the model-error collection. |
|
Add(String) | Adds the specified error message to the model-error collection. |
|
Add(T) | (Inherited from Collection<ModelError>.) |
|
Clear | (Inherited from Collection<ModelError>.) |
|
ClearItems | (Inherited from Collection<ModelError>.) |
|
Contains | (Inherited from Collection<ModelError>.) |
|
CopyTo | (Inherited from Collection<ModelError>.) |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetEnumerator | (Inherited from Collection<ModelError>.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
IndexOf | (Inherited from Collection<ModelError>.) |
|
Insert | (Inherited from Collection<ModelError>.) |
|
InsertItem | (Inherited from Collection<ModelError>.) |
|
MemberwiseClone | (Inherited from Object.) |
|
Remove | (Inherited from Collection<ModelError>.) |
|
RemoveAt | (Inherited from Collection<ModelError>.) |
|
RemoveItem | (Inherited from Collection<ModelError>.) |
|
SetItem | (Inherited from Collection<ModelError>.) |
|
ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
IList.Add | (Inherited from Collection<ModelError>.) |
|
IList.Contains | (Inherited from Collection<ModelError>.) |
|
ICollection.CopyTo | (Inherited from Collection<ModelError>.) |
|
IEnumerable.GetEnumerator | (Inherited from Collection<ModelError>.) |
|
IList.IndexOf | (Inherited from Collection<ModelError>.) |
|
IList.Insert | (Inherited from Collection<ModelError>.) |
|
IList.IsFixedSize | (Inherited from Collection<ModelError>.) |
|
ICollection<T>.IsReadOnly | (Inherited from Collection<ModelError>.) |
|
IList.IsReadOnly | (Inherited from Collection<ModelError>.) |
|
ICollection.IsSynchronized | (Inherited from Collection<ModelError>.) |
|
IList.Item | (Inherited from Collection<ModelError>.) |
|
IList.Remove | (Inherited from Collection<ModelError>.) |
|
ICollection.SyncRoot | (Inherited from Collection<ModelError>.) |