Entity.ValidationErrors Property
[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.]
Gets the collection of validation errors for this entity.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
<DisplayAttribute(AutoGenerateField := False)> _
Public ReadOnly Property ValidationErrors As ICollection(Of ValidationResult)
Get
'Usage
Dim instance As Entity
Dim value As ICollection(Of ValidationResult)
value = instance.ValidationErrors
[DisplayAttribute(AutoGenerateField = false)]
public ICollection<ValidationResult> ValidationErrors { get; }
[DisplayAttribute(AutoGenerateField = false)]
public:
property ICollection<ValidationResult^>^ ValidationErrors {
ICollection<ValidationResult^>^ get ();
}
[<DisplayAttribute(AutoGenerateField = false)>]
member ValidationErrors : ICollection<ValidationResult>
function get ValidationErrors () : ICollection<ValidationResult>
Property Value
Type: System.Collections.Generic.ICollection<ValidationResult>
A collection of validation errors encountered during the last submit operation.