Click or drag to resize

HtmlEntityEntitize Method (String, 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
)

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.

Return Value

Type: String
The result text.
See Also