Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

WebUtils.UrlEncode Method

Encode value for use in URLs.

[Visual Basic]
Public Shared Sub UrlEncode( _
   ByVal value As String _
public static string UrlEncode(
   string value


the text to be encoded.

Return Value

the url-encoded value


This method may be used outside of a current request. If executed within a request, UrlEncode is used. UrlEncode will be used otherwise.

See Also

WebUtils Class | Spring.Util Namespace