RefinementCategory.ToString method

The tokens used to build up the string are no longer escaped in this function because tokens contain two parts, operators and values. Because the values need special escaping (for example, quotes), they need to be escaped when the token is being constructed, and before the refinement category is serialized.

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

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As RefinementCategory
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()

Return value

Type: System.String
The serialized version of the refinement category, including the name and all the tokens.

See also

Reference

RefinementCategory class

RefinementCategory members

Microsoft.Office.Server.Search.WebControls namespace