NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpServerUtility.HtmlEncode (String)

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;

Parameters

s
The text to encode into HTML format.

Return Value

The HTML encoded text.

See Also

HttpServerUtility Class | HttpServerUtility Members | System.Web Namespace | HttpServerUtility.HtmlEncode Overload List