SPMobileUtility.EncodeQueryStrings method
Returns the URL with all query values encoded.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function EncodeQueryStrings ( _
url As String _
) As String
'Usage
Dim url As String
Dim returnValue As String
returnValue = SPMobileUtility.EncodeQueryStrings(url)
public static string EncodeQueryStrings(
string url
)
Parameters
url
Type: System.StringThe original URL.
Return value
Type: System.String
The URL with all its query strings encoded.