Initializes a new instance of the TextFragment class

Namespace: Lucene.Net.Highlight
Assembly: Lucene.Net.Contrib.Highlighter (in Lucene.Net.Contrib.Highlighter.dll) Version: 2.3.2.1

Syntax

C#
public TextFragment(
	StringBuilder markedUpText,
	int textStartPos,
	int fragNum
)
Visual Basic
Public Sub New ( _
	markedUpText As StringBuilder, _
	textStartPos As Integer, _
	fragNum As Integer _
)
Visual C++
public:
TextFragment(
	StringBuilder^ markedUpText, 
	int textStartPos, 
	int fragNum
)

Parameters

markedUpText
Type: System.Text..::..StringBuilder

[Missing <param name="markedUpText"/> documentation for "M:Lucene.Net.Highlight.TextFragment.#ctor(System.Text.StringBuilder,System.Int32,System.Int32)"]

textStartPos
Type: System..::..Int32

[Missing <param name="textStartPos"/> documentation for "M:Lucene.Net.Highlight.TextFragment.#ctor(System.Text.StringBuilder,System.Int32,System.Int32)"]

fragNum
Type: System..::..Int32

[Missing <param name="fragNum"/> documentation for "M:Lucene.Net.Highlight.TextFragment.#ctor(System.Text.StringBuilder,System.Int32,System.Int32)"]

See Also