Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ValidationErrors.GetErrors Method

Gets the list of errors for the supplied lookup provider.

[Visual Basic]
Public NotOverridable Sub GetErrors( _
   ByVal provider As String _
) _
    Implements IValidationErrors.GetErrors
[C#]
public IList GetErrors(
   string provider
);

Parameters

provider
Error key that was used to group messages.

Return Value

A list of all ErrorMessages for the supplied lookup provider.

Implements

IValidationErrors.GetErrors

Remarks

If there are no errors for the supplied lookup provider, an emptyIList will be returned.

See Also

ValidationErrors Class | Spring.Validation Namespace