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
)
Public Shared Function Entitize (
text As String,
useNames As Boolean,
entitizeQuotAmpAndLtGt As Boolean
) As String
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:
StringThe result text
See Also