FormMappingContext.GetAllErrors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAllErrors() |
Retrieves all the errors for the model. |
GetAllErrors(String) |
Retrieves all the errors for the model. |
GetAllErrors()
- Source:
- FormMappingContext.cs
- Source:
- FormMappingContext.cs
Retrieves all the errors for the model.
public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Components.Forms.Mapping.FormMappingError> GetAllErrors ();
member this.GetAllErrors : unit -> seq<Microsoft.AspNetCore.Components.Forms.Mapping.FormMappingError>
Public Function GetAllErrors () As IEnumerable(Of FormMappingError)
Returns
The list of errors associated with the model if any.
Applies to
GetAllErrors(String)
- Source:
- FormMappingContext.cs
- Source:
- FormMappingContext.cs
Retrieves all the errors for the model.
public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Components.Forms.Mapping.FormMappingError> GetAllErrors (string formName);
member this.GetAllErrors : string -> seq<Microsoft.AspNetCore.Components.Forms.Mapping.FormMappingError>
Public Function GetAllErrors (formName As String) As IEnumerable(Of FormMappingError)
Parameters
- formName
- String
Form name for a form under this context.
Returns
The list of errors associated with the model if any.