Gets the code name created from the given string.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- name
- Type: System Object
Display name
- replacement (Optional)
- Type: System String
Replacement string for invalid characters
- maxLength (Optional)
- Type: System Int32
Maximal length of the codename
- useUnicode (Optional)
- Type: System Boolean
If true, Unicode letters are allowed in the codename, otherwise only a-Z are allowed
- removeDiacritics (Optional)
- Type: System Boolean
If true, diacritics is removed from Latin characters
- allowedCharacters (Optional)
- Type: System String
Characters which should be allowed within the current name
- useCamelCase (Optional)
- Type: System Boolean
If true, camel case is used for the code name
Return Value
Type: StringSee Also