Click or drag to resize

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.11.0.0 (5.11.23.1114)
Syntax
public bool ValidateNewDerivedModelName(
	string newName,
	bool checkForDuplicates,
	out string errorText,
	out string correctName
)

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