Share via


OpenSearchRuntime.EncodeForLocationQueryFormat method

Encodes a string for use in the OpenSearch federated location URL’s query string.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function EncodeForLocationQueryFormat ( _
    str As String _
) As String
'Usage
Dim instance As OpenSearchRuntime
Dim str As String
Dim returnValue As String

returnValue = instance.EncodeForLocationQueryFormat(str)
public string EncodeForLocationQueryFormat(
    string str
)

Parameters

Return value

Type: System.String
The encoded string.

Implements

ILocationRuntime.EncodeForLocationQueryFormat(String)

See also

Reference

OpenSearchRuntime class

OpenSearchRuntime members

Microsoft.Office.Server.Search.Query namespace