UrlEncode Method

AntiXssEncoder.UrlEncode Method

.NET Framework (current version)
 

Encodes strings and byte arrays for use in a URL.

Namespace:   System.Web.Security.AntiXss
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_protmethodUrlEncode(Byte[], Int32, Int32)

Encodes the specified byte array for use in a URL, starting at the specified offset in the byte array and encoding the specified number of bytes.(Overrides HttpEncoder.UrlEncode(Byte[], Int32, Int32).)

System_CAPS_pubmethodSystem_CAPS_staticUrlEncode(String)

Encodes the specified string for use in a URL.

System_CAPS_pubmethodSystem_CAPS_staticUrlEncode(String, Encoding)

Encodes the specified string for use in a URL by using the specified character encoding type.

System_CAPS_pubmethodSystem_CAPS_staticUrlEncode(String, Int32)

Encodes the specified string for use in a URL by using the specified code page.

Return to top
Show:
© 2016 Microsoft