HTML encodes a given string and returns the encoded string.
[Visual Basic] Overloads Public Function HtmlEncode( _ ByVal s As String _ ) As String [C#] public string HtmlEncode( string s ); [C++] public: String* HtmlEncode( String* s ); [JScript] public function HtmlEncode( s : String ) : String;
The HTML encoded text.
HttpServerUtility Class | HttpServerUtility Members | System.Web Namespace | HttpServerUtility.HtmlEncode Overload List