IdeaBlade DevForce 2010 Help Reference
GetErrors Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.ComponentModel Namespace > INotifyDataErrorInfo Interface : GetErrors Method



propertyName
The name of the property to retrieve validation errors for, or null or System.String.Empty to retrieve errors for the entire object.
Gets the validation errors for a specified property or for the entire object.

Syntax

Visual Basic (Declaration) 
Function GetErrors( _
   ByVal propertyName As String _
) As IEnumerable
Visual Basic (Usage)Copy Code
Dim instance As INotifyDataErrorInfo
Dim propertyName As String
Dim value As IEnumerable
 
value = instance.GetErrors(propertyName)
C# 
IEnumerable GetErrors( 
   string propertyName
)
C++/CLI 
IEnumerable^ GetErrors( 
   String^ propertyName
) 

Parameters

propertyName
The name of the property to retrieve validation errors for, or null or System.String.Empty to retrieve errors for the entire object.

Return Value

The validation errors for the property or object.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.