Returns a String where those characters that QueryParser expects to be escaped are escaped by a preceding
CopyC#
\
.

Namespace: Lucene.Net.QueryParsers
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static string Escape(
	string s
)
Visual Basic
Public Shared Function Escape ( _
	s As String _
) As String
Visual C++
public:
static String^ Escape(
	String^ s
)

Parameters

s
Type: System..::..String

[Missing <param name="s"/> documentation for "M:Lucene.Net.QueryParsers.QueryParser.Escape(System.String)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.QueryParsers.QueryParser.Escape(System.String)"]

See Also