ProjectValidateNewDerivedModelName Method (String, Boolean, String, String) |
Validates whether the name specified is a valid name for a new derived model.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax public bool ValidateNewDerivedModelName(
string newName,
bool checkForDuplicates,
out string errorText,
out string correctName
)
Public Function ValidateNewDerivedModelName (
newName As String,
checkForDuplicates As Boolean,
<OutAttribute> ByRef errorText As String,
<OutAttribute> ByRef correctName As String
) As Boolean
Parameters
- newName
- Type: SystemString
The new name. - checkForDuplicates
- Type: SystemBoolean
if set to true it will check whether the name is already in use as a derived model, false it will only check the validity of
the name, not whether the name is already in use. - errorText
- Type: SystemString
The error text. - correctName
- Type: SystemString
Corrected value for name rules, this is the correct name for 'newName'.
Return Value
Type:
Boolean
true if valid, false otherwise
See Also