Click or drag to resize

JsonSerializerAddHtml Method

Add a block of HTML as a property of the object. Note that HTML requires special escaping including removal of CR and LF characters. Such escaping is performed by this method and the call should NOT so escape the HTML.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public void AddHtml(
	string propertyName,
	string html
)

Parameters

propertyName
Type: SystemString
The name of the property.
html
Type: SystemString
The HTML to be escaped and used as the property value.
See Also