Data for Silverlight
GetErrors Method (DataRowView)

C1.Silverlight.Data Namespace > DataRowView Class : GetErrors Method
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.
Gets the validation errors for a specified property or for the entire data row.
Syntax
'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
See Also

Reference

DataRowView Class
DataRowView Members