nspectre - declarative validation for .NET

ValidationErrorCollection.IndexOf Method 

Determines the index of a given Specification.Core.ValidationError.

public int IndexOf(
   ValidationError value
);

Parameters

value
The Specification.Core.ValidationError to find.

Return Value

The index of the Specification.Core.ValidationError.

See Also

ValidationErrorCollection Class | NSpectre.Core Namespace