Show / Hide Table of Contents

Property ValidationErrors

ValidationErrors

Gets the result of validating Value against the constraints expressed by the Input and the value of IsRequired.

Declaration
public IEnumerable<Exception> ValidationErrors { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Exception>

An array of errors. An empty array indicates the element's value is valid. The errors returned are a set of any of the following error types:

  • FeatureFormNullNotAllowedException
  • FeatureFormIncorrectValueTypeException
  • FeatureFormExceedsMaximumDateTimeException
  • FeatureFormLessThanMinimumDateTimeException
  • FeatureFormExceedsMaximumLengthException
  • FeatureFormLessThanMinimumLengthException
  • FeatureFormExceedsNumericMaximumException
  • FeatureFormLessThanNumericMinimumException
  • FeatureFormNotInCodedValueDomainException
  • FeatureFormFieldIsRequiredException

Remarks

The constraints depend on the type of Input. For example a FieldFormElement with an input type of TextBoxFormInput may not be empty if the value of IsRequired is true.

See Also
FormInput
ValidationErrors

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.4 - 200.8
.NET200.4 - 200.8
.NET Windows200.4 - 200.8
.NET Android200.4 - 200.8
.NET iOS200.4 - 200.8
.NET Framework200.4 - 200.8
UWP200.4 - 200.8
In This Article
Back to top Copyright © 2022 Esri.