IValidatable..::..GetErrors Method (String)

Returns a collection of property-level errors.

Namespace:  Tortuga.Anchor.ComponentModel
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


ReadOnlyCollection<ValidationResult> GetErrors(
	string propertyName
)
Function GetErrors ( _
	propertyName As String _
) As ReadOnlyCollection(Of ValidationResult)

Parameters

propertyName
Type: String
Null or String.Empty will return the object-level errors

Return Value

Remarks


Call Validate() to refresh this property.