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