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.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.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