Condividi tramite


SPEncode.UrlEncodeAsUrl Method

Include Protected Members
Include Inherited Members

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