Click or drag to resize

IValidatorTValueValidate Method

Validates the value specified

Namespace:  SD.LLBLGen.Pro.Core
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.9.0.0 (5.9.0)
Syntax
bool Validate(
	TValue valueToValidate,
	bool checkForDuplicates,
	out TValue correctValue
)

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: Boolean
true if name is valid, false otherwise
See Also