Share via


TextChange(TextSpan, String) Constructor

Definition

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.

Applies to