FormInfoHelperGetUniqueFieldNameInternal Method (ISetString, String) |
Gets unique name for name within the specified existingFieldNames by appending
a suffix containing ordinal number.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 12.0.0
Syntax protected virtual string GetUniqueFieldNameInternal(
ISet<string> existingFieldNames,
string name
)
Parameters
- existingFieldNames
- Type: System.Collections.GenericISetString
Set of existing field names in for which the name is to be unique. - name
- Type: SystemString
Name from which to create a unique name.
Return Value
Type:
StringReturns name derived from
name which is unique within the specified names.
Exceptions See Also