GeneralNameValidatorValidate Method |
Validates the value specified
Namespace:
SD.LLBLGen.Pro.ApplicationCore.Validation
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public abstract bool Validate(
string valueToValidate,
bool checkForDuplicates,
out string correctValue
)
Public MustOverride Function Validate (
valueToValidate As String,
checkForDuplicates As Boolean,
<OutAttribute> ByRef correctValue As String
) As Boolean
Parameters
- valueToValidate
- Type: SystemString
The value to validate. - checkForDuplicates
- Type: SystemBoolean
Flag to signal if duplicate checking should be performed (true) or not (false) - correctValue
- Type: SystemString
The correct value for the valuetovalidate, e.g. a clsCompliantversion if it's a string etc..
Return Value
Type:
Booleantrue if name is valid, false otherwise
Implements
IValidatorTValueValidate(TValue, Boolean, TValue)See Also