TextChange(Int32, Int32, ITextBuffer, Int32, Int32, ITextBuffer) 构造函数

定义

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。初始化 类的新实例TextChange

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)

参数

oldPosition
Int32

在更改之前的那一刻文本更改在快照中的位置。

oldLength
Int32

旧文本的长度。

oldBuffer
ITextBuffer

旧文本缓冲区。

newPosition
Int32

在更改之后的那一刻文本更改在快照中的位置。

newLength
Int32

新文本的长度。

newBuffer
ITextBuffer

新文本缓冲区。

适用于