IValidatorTValueValidate Method |
Validates the value specified
Namespace:
SD.LLBLGen.Pro.Core
Assembly:
SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax bool Validate(
TValue valueToValidate,
bool checkForDuplicates,
out TValue correctValue
)
Function Validate (
valueToValidate As TValue,
checkForDuplicates As Boolean,
<OutAttribute> ByRef correctValue As TValue
) As Boolean
Parameters
- valueToValidate
- Type: TValue
The value to validate. - checkForDuplicates
- Type: SystemBoolean
Flag to signal if duplicate checking should be performed (true) or not (false) - correctValue
- Type: TValue
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
See Also