Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IValidationErrors.GetErrors Method

Gets the list of errors for the supplied error provider.

[Visual Basic]
Public Sub GetErrors( _
   ByVal provider As String _
)
[C#]
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.

Remarks

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

See Also

IValidationErrors Interface | Spring.Validation Namespace