SharePointSearchRuntime.EncodeForLocationQueryFormat Method
Encodes a string for use in the SharePoint sites 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 SharePointSearchRuntime
Dim str As String
Dim returnValue As String
returnValue = instance.EncodeForLocationQueryFormat(str)
public string EncodeForLocationQueryFormat(
string str
)
Parameters
str
Type: System.StringThe string to encode.
Return Value
Type: System.String
The encoded string.
Implements
ILocationRuntime.EncodeForLocationQueryFormat(String)