TextReplacement

TextReplacement class

Represents a textual replacement information.

public class TextReplacement

Constructors

Name Description
TextReplacement(int, string, string) Initializes a new instance of TextReplacement class.

Properties

Name Description
Index { get; } Gets an index of the matched text within source string.
OriginalText { get; } Gets the original matched string.
Replacement { get; } Gets the string, replacing OriginalText.

Methods

Name Description
override ToString() Provides text replacement description and its position.

Remarks

Learn more

See Also