The requested page is not available for the requested platform. You are viewing the content for Default platform.

StringLengthRuleBuilder Methods

A validation rule that demands the target value length be within the specified value range (including the range's end points).

Name Description
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the Type of the current instance.
(Inherited from Object)
IgnoreEmptyValue(Boolean)

If set to true, empty values are valid.

IgnoreEmptyValue(JS)

If set to true, empty values are valid.

Max(Double)

Specifies the maximum length allowed for the validated value.

Max(JS)

Specifies the maximum length allowed for the validated value.

MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
Message(JS)

Specifies the message that is shown for end-users if the current rule is broken.

Message(String)

Specifies the message that is shown for end-users if the current rule is broken.

Min(Double)

Specifies the minimum length allowed for the validated value.

Min(JS)

Specifies the minimum length allowed for the validated value.

Option(String, Object)

Specifies an option by its name.

ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
ToString() Returns a string that represents the current object.
(Inherited from Object)
Trim(Boolean)

Indicates whether or not to remove the Space characters from the validated value.

Trim(JS)

Indicates whether or not to remove the Space characters from the validated value.

See Also