Adds a new validation result to the collection
Namespace:
Tortuga.Anchor.DataAnnotations
Assembly:
Tortuga.Anchor (in Tortuga.Anchor.dll)
Public Function Add ( _
errorMessage As String, _
ParamArray memberNames As Nullable(Of String)() _
) As ValidationResult
Parameters
- errorMessage
- Type: String
The error message.
- memberNames
- Type: array<Nullable<(Of <(<'String>)>)>>[]()[][]
The member names.
Return Value
ValidationResult.
Exception | Condition |
---|
[ArgumentException] | errorMessage |