ProjectValidateNewRootDocumentName Method |
Validates whether the name specified is a valid name for a new derived element in the derived model specified
Namespace:
SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax public bool ValidateNewRootDocumentName(
string newName,
DerivedModelDefinition containingDerivedModel,
out string errorText,
out string correctName
)
Public Function ValidateNewRootDocumentName (
newName As String,
containingDerivedModel As DerivedModelDefinition,
<OutAttribute> ByRef errorText As String,
<OutAttribute> ByRef correctName As String
) As Boolean
Parameters
- newName
- Type: SystemString
The new name. - containingDerivedModel
- Type: SD.LLBLGen.Pro.ApplicationCore.DerivedModelDerivedModelDefinition
The containing derived model. - 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