XhtmlControlAdapter.PreprocessQueryString Method (String)


Gets the portion of the given query string that contains parameters for processing the request. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

protected string PreprocessQueryString(
	string queryString


Type: System.String

The query string from the HttpRequest.QueryString.

Return Value

Type: System.String

A string containing the processed query string.

Use this method to reduce the query string to its basic parameters by removing the following information:

  • The file name and path information.

  • A parameter specifying the current FormsCookieName.

  • A parameter named "x-up-descharset", which specifies the current character set.

The page adapter uses the returned query string to create a NameValueCollection object to access the remaining parameters and their values.

This method is primarily used by the .NET Framework internally.

.NET Framework
Available since 2.0
Return to top