Share via


SPEncode.UrlEncodeAsUrl method

Encodes the specified string, converting special characters to quoted UTF-8 format.

Overload list

  Name Description
Public methodStatic member UrlEncodeAsUrl(String) Encodes the specified string, converting special characters to quoted UTF-8 format, but assumes that the string is a path component of a URL.
Public methodStatic member UrlEncodeAsUrl(String, Boolean) Encodes the specified string, converting special characters to quoted UTF-8 format, but assumes that the string is a path component of a URL and encodes Unicode characters only if the encodeUnicodeCharacters parameter is true.

Top

See also

Reference

SPEncode class

SPEncode members

Microsoft.SharePoint.Utilities namespace