![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
A Sandcastle Documented Class Library |
HtmlDocument..::..HtmlEncode Method |
HtmlDocument Class See Also Send Feedback |
Applies HTML encoding to a specified string.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public static string HtmlEncode( string html ) |
Visual Basic |
---|
Public Shared Function HtmlEncode ( _ html As String _ ) As String |
Visual C++ |
---|
public: static String^ HtmlEncode( String^ html ) |
Parameters
- html
- Type: System..::..String
The input string to encode. May not be null.