Share via


HostedWebApplication.SubstituteQueryString Method

Definition

Overloads

SubstituteQueryString(String)

Inserts a value from the context into a query string where the query string specifies it by using the syntax %valuename.

SubstituteQueryString(String, Boolean)

Inserts a value from the context into a query string where the query string specifies it by using the syntax %valuename.

SubstituteQueryString(String)

Inserts a value from the context into a query string where the query string specifies it by using the syntax %valuename.

protected:
 System::String ^ SubstituteQueryString(System::String ^ queryString);
protected string SubstituteQueryString (string queryString);
member this.SubstituteQueryString : string -> string
Protected Function SubstituteQueryString (queryString As String) As String

Parameters

queryString
String

String used for Query

Returns

The query string, updated with context information is appropriate.

Applies to

SubstituteQueryString(String, Boolean)

Inserts a value from the context into a query string where the query string specifies it by using the syntax %valuename.

protected:
 System::String ^ SubstituteQueryString(System::String ^ queryString, bool encodeData);
protected string SubstituteQueryString (string queryString, bool encodeData);
member this.SubstituteQueryString : string * bool -> string
Protected Function SubstituteQueryString (queryString As String, encodeData As Boolean) As String

Parameters

queryString
String

String used for Query

encodeData
Boolean

Encode the data.

Returns

The query string, updated with context information is appropriate and possibly encoded.

Applies to