TransformationHelperEnsureValueHTMLEncodeReturnType Method (Object) |
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.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntaxpublic ReturnType EnsureValueHTMLEncode<ReturnType>(
Object value
)
Parameters
- value
- Type: SystemObject
Value to encode
Type Parameters
- ReturnType
Return Value
Type:
ReturnType
See Also