Click or drag to resize
ValidationHelperGetCodeName Method (Object, Int32)
Gets the code name created from the given string.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string GetCodeName(
	Object name,
	int maxLength
)

Parameters

name
Type: SystemObject
Display name
maxLength
Type: SystemInt32
Maximal length of the codename

Return Value

Type: String
See Also