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: 9.1.0.0 (9.1.0.20241025)
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