Click or drag to resize

HtmlEntityEntitize Method (String, Boolean, Boolean)

Replace characters above 127 by entities.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.1.3.0 (8.1.3.20220620)
Syntax
public static string Entitize(
	string text,
	bool useNames,
	bool entitizeQuotAmpAndLtGt
)

Parameters

text
Type: SystemString
The source text.
useNames
Type: SystemBoolean
If set to false, the function will not use known entities name. Default is true.
entitizeQuotAmpAndLtGt
Type: SystemBoolean
If set to true, the [quote], [ampersand], [lower than] and [greather than] characters will be entitized.

Return Value

Type: String
The result text
See Also