Records a replacement to be applied to the inputs stream. Whenever
CopyC#
singleMatch
occurs in the input, it will be replaced with
CopyC#
replacement
.

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

Syntax

C#
public virtual void Add(
	string singleMatch,
	string replacement
)
Visual Basic
Public Overridable Sub Add ( _
	singleMatch As String, _
	replacement As String _
)
Visual C++
public:
virtual void Add(
	String^ singleMatch, 
	String^ replacement
)

Parameters

singleMatch
Type: System..::..String
input String to be replaced
replacement
Type: System..::..String
output String

See Also