Click or drag to resize
ValidationHelperIsCodeName Method
Returns true if the object representation matches the Code name.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static bool IsCodeName(
	Object value,
	bool useUnicode = false
)

Parameters

value
Type: SystemObject
Value to check
useUnicode (Optional)
Type: SystemBoolean
If true, unicode letters are allowed in the codename, otherwise only a-Z are allowed

Return Value

Type: Boolean
See Also