Click or drag to resize

CoreUtilsMakeUniqueName Method (IEnumerableString, String, Boolean)

Makes the string passed in unique and valid for the validator.

Namespace:  SD.LLBLGen.Pro.Core
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static string MakeUniqueName(
	IEnumerable<string> existingNames,
	string toMakeUnique,
	bool caseInsensitiveComparisons
)

Parameters

existingNames
Type: System.Collections.GenericIEnumerableString
The existing names.
toMakeUnique
Type: SystemString
To make unique.
caseInsensitiveComparisons
Type: SystemBoolean
if set to true, case insensitive comparisons are performed.

Return Value

Type: String
toMakeUnique padded with a counter so it's a unique name and valid name according to the validator.
See Also