Click or drag to resize
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.2.0.0 (5.2.17.0403)
Syntax
public bool ValidateNewRootDocumentName(
	string newName,
	DerivedModelDefinition containingDerivedModel,
	out string errorText,
	out string correctName
)

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