TypeHelperEnsureMaxCodeNameLength Method |
Ensures maximal allowed code name length.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntaxpublic static string EnsureMaxCodeNameLength(
string codeName,
int maxLength
)
Parameters
- codeName
- Type: SystemString
Original name - maxLength
- Type: SystemInt32
Maximum code name length, if not set (0), cuts the code name to the general MaxCodeNameLength
Return Value
Type:
String
See Also