次の方法で共有


SPHttpUtility.UrlKeyValueEncode method

Encodes the specified URL query string key or value.

Overload list

  Name Description
Public methodStatic member UrlKeyValueEncode(Guid) Encodes a GUID for use in a URL query string.
Public methodStatic member UrlKeyValueEncode(Int32) Encodes an integer key or value for use in a URL query string.
Public methodStatic member UrlKeyValueEncode(String) Encodes a string for use in a URL query string.
Public methodStatic member UrlKeyValueEncode(String, TextWriter) Encodes the specified URL query string key or value, and appends it to the specified output stream.
Public methodStatic member UrlKeyValueEncode(String, String) Encodes a string key and value for use in a URL query string.
Public methodStatic member UrlKeyValueEncode(String, String, TextWriter) Encodes a string key and value for use in a URL query string, and then appends it to the specified output stream.

Top

See also

Reference

SPHttpUtility class

SPHttpUtility members

Microsoft.SharePoint.Utilities namespace