FormInfoHelperGetUniqueFieldNameInternal Method (FormInfo, String) |
Gets unique name for name within the specified formInfo by appending
a suffix containing ordinal number.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 13.0.131
Syntax protected virtual string GetUniqueFieldNameInternal(
FormInfo formInfo,
string name
)
Parameters
- formInfo
- Type: CMS.FormEngineFormInfo
Form info 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 form.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when formInfo or name is null. |
ArgumentException | Thrown when name is an empty string. |
See Also