ValidatableMemberTValue, TChangeTypeValidateMemberValue Method |
Validates the member value.
Namespace:
SD.LLBLGen.Pro.Core.GeneralDataStructures
Assembly:
SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.3.0.0 (5.3.0)
Syntax protected override bool ValidateMemberValue(
TValue valueToValidate,
bool checkForDuplicates,
bool throwOnError,
out TValue correctValue
)
Protected Overrides Function ValidateMemberValue (
valueToValidate As TValue,
checkForDuplicates As Boolean,
throwOnError As Boolean,
<OutAttribute> ByRef correctValue As TValue
) As Boolean
Parameters
- valueToValidate
- Type: TValue
The value to validate. - checkForDuplicates
- Type: SystemBoolean
if set to true, it will check for duplicate names - throwOnError
- Type: SystemBoolean
if set to true, it will throw a ValidationException if validation failed - correctValue
- Type: TValue
The correct value.
Return Value
Type:
Boolean
true if the member is valid, false otherwise
See Also