Click or drag to resize
TransformationHelperEnsureValueHTMLEncode Method (Object)

Note: This API is now obsolete.

Returns HTML encoded value if value is string and it should be encoded(it depends on value of CMSHTMLEncodeEval key in configuration file).

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("To encode HTML use HTMLEncode.")]
public Object EnsureValueHTMLEncode(
	Object value
)

Parameters

value
Type: SystemObject
Value to encode

Return Value

Type: Object
See Also