ModelViewNameValidatorValidateName Method |
Validates the name specified
Namespace:
SD.LLBLGen.Pro.ApplicationCore.EntityModel.Validation
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax protected bool ValidateName(
string nameToValidate,
bool removeUnderscoresIfRequired,
out string clsCompliantVersion
)
Protected Function ValidateName (
nameToValidate As String,
removeUnderscoresIfRequired As Boolean,
<OutAttribute> ByRef clsCompliantVersion As String
) As Boolean
Parameters
- nameToValidate
- Type: SystemString
The name to validate. - removeUnderscoresIfRequired
- Type: SystemBoolean
if true, it will remove underscores during CLS name testing, if the project property
RemoveUnderscoresFromElementName is set to true. If false, underscores are left as-is - clsCompliantVersion
- Type: SystemString
The CLS compliant version.
Return Value
Type:
Boolean
true if the name is valid, false otherwise
See Also