ITextChange3.GetOldText(Span) Method

Definition

Gets the text that was replaced, starting at the beginning of the span and having length equal to the length of the span.

public:
 System::String ^ GetOldText(Microsoft::VisualStudio::Text::Span span);
public:
 Platform::String ^ GetOldText(Microsoft::VisualStudio::Text::Span span);
std::wstring GetOldText(Microsoft::VisualStudio::Text::Span span);
public string GetOldText (Microsoft.VisualStudio.Text.Span span);
abstract member GetOldText : Microsoft.VisualStudio.Text.Span -> string
Public Function GetOldText (span As Span) As String

Parameters

span
Span

The span of text to return.

Returns

Applies to