ITextChange.OldSpan Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The span of the text change in the snapshot immediately before the change.
public:
property Microsoft::VisualStudio::Text::Span OldSpan { Microsoft::VisualStudio::Text::Span get(); };
C++/CX
public:
property Microsoft::VisualStudio::Text::Span OldSpan { Microsoft::VisualStudio::Text::Span get(); };
public Microsoft.VisualStudio.Text.Span OldSpan { get; }
member this.OldSpan : Microsoft.VisualStudio.Text.Span
Public ReadOnly Property OldSpan As Span
The span of the text change in the snapshot immediately before the change.
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.
Produkt | Verzie |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |