StringListValidator Class |
Namespace: Bio
The StringListValidator type exposes the following members.
Name | Description | |
---|---|---|
StringListValidator(String) |
Constructor that initializes the value list. IgnoreCase defaults to false.
| |
StringListValidator(Boolean, String) |
Constructor that allows case sensitivity to be specified.
|
Name | Description | |
---|---|---|
IgnoreCase |
If IgnoreCase is false (the default), a string will only be considered
valid if it matches one of the stored values exactly, including case.
Otherwise, any case (including mixed) is accepted.
| |
ValidValues |
The list of allowed values.
|
Name | Description | |
---|---|---|
AddValidValues |
Add one or more strings to the list of valid values.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValid(Object) |
Given a string value as an object, return true if the value is in the list.
| |
IsValid(String) |
Given a string value, return true if the value is in the list.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |