ITextChange3.GetOldText(Span) Method
Definition
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.
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.