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.1.0.0 (5.1.0)
Syntax public static string MakeUniqueName(
IEnumerable<string> existingNames,
string toMakeUnique,
bool caseInsensitiveComparisons
)
Public Shared Function MakeUniqueName (
existingNames As IEnumerable(Of String),
toMakeUnique As String,
caseInsensitiveComparisons As Boolean
) As String
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