<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=6889170&amp;fmt=gif">
Skip to content
  • There are no suggestions because the search field is empty.

RequiredIfAttribute Class | Methods

The RequiredIfAttribute type exposes the following members.

Methods

Name Description
pubMethod Equals Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
pubMethod FormatErrorMessage Applies formatting to an error message, based on the data field where the error occurred.
(Overrides ValidationAttribute.FormatErrorMessage(String))
pubMethod GetHashCode Returns the hash code for this instance.
(Inherited from Attribute)
pubMethod GetType Gets the Type of the current instance.
(Inherited from Object)
pubMethod GetValidationResult Checks whether the specified value is valid with respect to the current validation attribute.
(Inherited from ValidationAttribute)
pubMethod IsDefaultAttribute When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
pubMethod IsValid Determines whether the specified value of the object is valid.
(Inherited from ValidationAttribute)
pubMethod Match When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
pubMethod ToString Creates and returns a string representation of the current exception.
(Inherited from Exception)
pubMethod Validate(Object, ValidationContext) Validates the specified object.
(Inherited from ValidationAttribute)
pubMethod Validate(Object, String) Validates the specified object.
(Inherited from ValidationAttribute)

See Also

Reference
RequiredIfAttribute Class
Compiled.EDD.Scripting Namespace