Share via


TextChange(Int32, Int32, ITextBuffer, Int32, Int32, ITextBuffer) Constructor

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the TextChange class.

public TextChange (int oldPosition, int oldLength, System.Web.Razor.Text.ITextBuffer oldBuffer, int newPosition, int newLength, System.Web.Razor.Text.ITextBuffer newBuffer);
new System.Web.Razor.Text.TextChange : int * int * System.Web.Razor.Text.ITextBuffer * int * int * System.Web.Razor.Text.ITextBuffer -> System.Web.Razor.Text.TextChange
Public Sub New (oldPosition As Integer, oldLength As Integer, oldBuffer As ITextBuffer, newPosition As Integer, newLength As Integer, newBuffer As ITextBuffer)

Parameters

oldPosition
Int32

The position of the text change in the snapshot immediately before the change.

oldLength
Int32

The length of the old text.

oldBuffer
ITextBuffer

An old text buffer.

newPosition
Int32

The position of the text change in the snapshot immediately after the change.

newLength
Int32

The length of the new text.

newBuffer
ITextBuffer

A new text buffer.

Applies to