Initializes a new instance of the EditableRegion class.

EditableRegion(String, Int)

public EditableRegion(string userName, int id);
Public Sub New(ByVal userName As String, ByVal id As Integer)

EditableRegion(String, Int, Int, Int)

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

Parameters

Parameter Description
userName Specifies the name of the user who can edit the region. This parameter can be null or an empty string to indicate, that no user name has been specified and the region can be edited by everyone.
id Specifies an identifier for the editable region. This parameter can be 0 to indicate, that the editable region has no identifier.
start Specifies the index (one-based) of the first character which belongs to the editable region.
length Specifies the number of characters which belong to the editable region.