ValidationHelperIsCodeName Method |
Returns true if the object representation matches the Code name.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax 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:
BooleanSee Also