TextChange 結構

定義

public value class TextChange
public struct TextChange
type TextChange = struct
Public Structure TextChange
繼承
TextChange

建構函式

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

屬性

IsDelete
IsInsert
IsReplace
NewBuffer
NewLength
NewPosition
NewText
OldBuffer
OldLength
OldPosition
OldText

方法

ApplyChange(Span)

將文字變更套用至範圍的內容,並傳回新的內容。 此方法不會更新範圍內容。

ApplyChange(String, Int32)
Equals(Object)
GetHashCode()
Normalize()

從編輯中移除通用前置詞,以盡可能將 IntelliSense 取代為插入

ToString()

運算子

Equality(TextChange, TextChange)
Inequality(TextChange, TextChange)

適用於