Source::SetText Method (TextSpan, String^)
Visual Studio 2015
Replaces the specified span of source with the given text.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- span
-
Type:
Microsoft.VisualStudio.TextManager.Interop::TextSpan
A TextSpan object describing the span to replace.
- newText
-
Type:
System::String^
A string holding the new text.
This method forwards the call to the other span-oriented SetText(Int32, Int32, Int32, Int32, String^) method.
Show: