Compartilhar via


HostedWebApplication.SubstituteQueryString Method (String, Boolean)

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

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim queryString As String
Dim encodeData As Boolean
Dim returnValue As String

returnValue = Me.SubstituteQueryString(queryString, encodeData)

Syntax

'Declaration
Protected Function SubstituteQueryString ( _
    queryString As String, _
    encodeData As Boolean _
) As String
protected string SubstituteQueryString (
    string queryString,
    bool encodeData
)
protected:
String^ SubstituteQueryString (
    String^ queryString, 
    bool encodeData
)
protected String SubstituteQueryString (
    String queryString, 
    boolean encodeData
)
protected function SubstituteQueryString (
    queryString : String, 
    encodeData : boolean
) : String

Parameters

  • queryString
    String used for Query
  • encodeData
    Encode the data.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

HostedWebApplication Class
HostedWebApplication Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.