ComplexObject.. Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Retrieves the errors for the specified property, or the type-level errors if propertyName is null or empty.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

IEnumerable INotifyDataErrorInfo.GetErrors(
	string propertyName
)

Parameters

propertyName
Type: System.String
The property name to get errors for. When null or empty, errors that apply to at the entity level will be returned.

Return Value

Type: System.Collections.IEnumerable
TheIEnumerable of errors for the specified propertyName or type-level errors when propertyName is null or empty..

Implements

INotifyDataErrorInfoGetErrors(String)
Show: