MetaDataNameValidator.Validate Method |
Validates the value specified
Namespace:
SD.LLBLGen.Pro.ApplicationCore.MetaData.Validation
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax public virtual bool Validate(
string valueToValidate,
bool checkForDuplicates,
out string correctValue
)
Public Overridable Function Validate (
valueToValidate As String,
checkForDuplicates As Boolean,
<OutAttribute> ByRef correctValue As String
) As Boolean
Parameters
- valueToValidate
- Type: System.String
The value to validate. - checkForDuplicates
- Type: System.Boolean
Flag to signal if duplicate checking should be performed (true) or not (false) - correctValue
- Type: System.String
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
IValidator<TValue>.Validate(TValue, Boolean, TValue)See Also