共用方式為


ITextChange.OldEnd Property

Gets the end position of the OldText in the snapshot immediately before the change.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'宣告
ReadOnly Property OldEnd As Integer
int OldEnd { get; }
property int OldEnd {
    int get ();
}
abstract OldEnd : int
function get OldEnd () : int

Property Value

Type: System.Int32
The end position of the OldText in the snapshot immediately before the change.

Remarks

This is the equivalent of OldSpan.End.

.NET Framework Security

See Also

Reference

ITextChange Interface

Microsoft.VisualStudio.Text Namespace