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.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax public ReturnType EnsureValueHTMLEncode<ReturnType>(
Object value
)
Parameters
- value
- Type: SystemObject
Value to encode
Type Parameters
- ReturnType
Return Value
Type:
ReturnTypeSee Also