An attribute that used in a declarative fashion, activates the LengthLessOrEqualTo validation Gear over the decorated property or field.

The following tables list the members exposed by the LengthLessOrEqualToAttribute type.

Name Description
Public property CompareWith Gets or sets the value to compare with.
Public property InvalidInputMessage Gets or sets the invalid input message. (inherited from ValidateAttribute).
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (inherited from Attribute).
Public property ValidationOrder Gets or sets the validation order. (inherited from ValidateAttribute).
Top
Name Description
Public method Equals (Overloaded) Returns a value that indicates whether this instance is equal to a specified object. (inherited from Attribute).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method Static GetCustomAttribute (Overloaded) Retrieves a custom attribute applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. (inherited from Attribute).
Public method Static GetCustomAttributes (Overloaded) Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. (inherited from Attribute).
Public method GetHashCode Returns the hash code for this instance. (inherited from Attribute).
Public method GetType (Overloaded) Gets the Type of the current instance. (inherited from Object).
Public method GetValidationGear Gets the underlying Validate<TToValidate> gear. (inherited from ValidateAttribute).
Public method 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).
Public method Static IsDefined (Overloaded) Determines whether any custom attributes are applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. (inherited from Attribute).
Public method Match When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (inherited from Attribute).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method OnCompleteValidationGearInputs Handles the request to complete validation gear inputs.
Public method Static ReferenceEquals Determines whether the specified Object instances are the same instance. (inherited from Object).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Name Description
Public extension method FromNullable Converts object values to nullable relational data store values. (Defined by Object_ToNullable).
Public extension method GetAttribute Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttribute<TAtribute> (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes<TAtribute> (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method ToNullable<T> Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable).
Top