AbstractModelBase..::..GetErrors Method (Nullable<(Of <(<'String>)>)>)

Returns a collection of property-level errors.

Namespace:  Tortuga.Anchor.Modeling.Internals
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


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

Parameters

propertyName
Type: Nullable<(Of <(<'String>)>)>
Null or String.Empty will return the object-level errors

Return Value

Remarks


Call Validate() to refresh this property.