TypeHelperEnsureMaxCodeNameLength Method |
Ensures maximal allowed code name length.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 9.0.0
Syntax public 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:
StringSee Also