Click or drag to resize
TransformationHelperEnsureValueHTMLEncodeReturnType Method
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: 9.0.0
Syntax
C#
public ReturnType EnsureValueHTMLEncode<ReturnType>(
	Object value
)

Parameters

value
Type: SystemObject
Value to encode

Type Parameters

ReturnType

Return Value

Type: ReturnType
See Also