Initializes a new instance of the SubTextPart class.

SubTextPart(String, Int)

public SubTextPart(string name, int id);
Public Sub New(ByVal name As String, ByVal id As Integer)

SubTextPart(String, Int, Int, Int)

public SubTextPart(string name, int id, int start, int length);
Public Sub New(ByVal name As String, ByVal id As Integer, ByVal start As Integer, ByVal length As Integer)

Parameters

Parameter Description
name Specifies the name of the subtextpart. This parameter can be null or an empty string to indicate, that the subtextpart has no name.
id Specifies an identifier for the subtextpart. This parameter can be 0 to indicate, that the subtextpart has no identifier.
start Specifies the index (one-based) of the first character which belongs to the subtextpart.
length Specifies the number of characters which belong to the subtextpart.