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.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax public ReturnType EnsureValueHTMLEncode<ReturnType>(
Object value
)
Parameters
- value
- Type: SystemObject
Value to encode
Type Parameters
- ReturnType
Return Value
Type:
ReturnTypeSee Also