Initializes a new instance of the CommentedText class.

CommentedText(String)

public CommentedText(string comment);
Public Sub New(ByVal comment As String)

CommentedText(String, Int, Int)

public CommentedText(string comment, int start, int length);
Public Sub New(ByVal comment As String, ByVal start As Integer, ByVal length As Integer)

CommentedText(String, CommentedText)

public CommentedText(string comment, CommentedText repliedComment);
Public Sub New(ByVal comment As String, ByVal repliedComment As CommentedText)

Parameters

Parameter Description
comment Specifies a comment string.
start Specifies the index (one-based) of the commented text's first character.
length Specifies the number of characters which belong to the commented text.
repliedComment The new comment is a reply to this comment.