TextChange(TextSpan, String) Constructor
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.
Initializes a new instance of TextChange
public:
TextChange(Microsoft::CodeAnalysis::Text::TextSpan span, System::String ^ newText);
public TextChange (Microsoft.CodeAnalysis.Text.TextSpan span, string newText);
new Microsoft.CodeAnalysis.Text.TextChange : Microsoft.CodeAnalysis.Text.TextSpan * string -> Microsoft.CodeAnalysis.Text.TextChange
Public Sub New (span As TextSpan, newText As String)
Parameters
- span
- TextSpan
The original span of the changed text.
- newText
- String
The new text.