Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The span of the text change in the snapshot immediately before the change.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
ReadOnly Property OldSpan As Span
Span OldSpan { get; }
property Span OldSpan {
Span get ();
}
abstract OldSpan : Span with get
function get OldSpan () : Span
Property Value
Type: Microsoft.VisualStudio.Text.Span
The span of the text change in the snapshot immediately before the change.
Remarks
This span is empty for a pure insertion. Its start position may differ from NewSpan.Start only when there is more than one ITextChange included in moving from one snapshot to the next.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.