'Declaration
Public Function GetErrors( _ ByVal propertyName As String _ ) As IEnumerable
public IEnumerable GetErrors( string propertyName )
Parameters
- propertyName
- The name of the property to retrieve validation errors for; or a null reference (Nothing in Visual Basic) or Empty, to retrieve data row-level errors.
Return Value
The validation errors for the property or data row