Used to validate a collection property whose items have their own properties with data annotations.
[AttributeUsage(AttributeTargets.Property)]
public sealed class ValidateItemsAttribute : ValidationAttribute
| name | description |
|---|---|
| ValidateItemsAttribute() | The default constructor. |
| AllowNullItems { get; set; } | True if null items are allowed. Defaults to false. |
| name | description |
|---|---|
| override IsValid(…) |