TypeHelper EnsureMaxCodeNameLength Method Kentico 8.0 API Reference
Ensures maximal allowed code name length.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

codeName
Type: OnlineSystem String
Original name
maxLength
Type: OnlineSystem Int32
Maximum code name length, if not set (0), cuts the code name to the general MaxCodeNameLength

Return Value

Type: OnlineString
See Also