共用方式為


TextChangeEventArgs Constructors

Definition

Overloads

TextChangeEventArgs(SourceText, SourceText, TextChangeRange[])

Initializes an instance of TextChangeEventArgs.

TextChangeEventArgs(SourceText, SourceText, IEnumerable<TextChangeRange>)

Initializes an instance of TextChangeEventArgs.

TextChangeEventArgs(SourceText, SourceText, TextChangeRange[])

Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs

Initializes an instance of TextChangeEventArgs.

public:
 TextChangeEventArgs(Microsoft::CodeAnalysis::Text::SourceText ^ oldText, Microsoft::CodeAnalysis::Text::SourceText ^ newText, ... cli::array <Microsoft::CodeAnalysis::Text::TextChangeRange> ^ changes);
public TextChangeEventArgs (Microsoft.CodeAnalysis.Text.SourceText oldText, Microsoft.CodeAnalysis.Text.SourceText newText, params Microsoft.CodeAnalysis.Text.TextChangeRange[] changes);
new Microsoft.CodeAnalysis.Text.TextChangeEventArgs : Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.Text.TextChangeRange[] -> Microsoft.CodeAnalysis.Text.TextChangeEventArgs
Public Sub New (oldText As SourceText, newText As SourceText, ParamArray changes As TextChangeRange())

Parameters

oldText
SourceText

The text before the change.

newText
SourceText

The text after the change.

changes
TextChangeRange[]

A set of ranges for the change.

Applies to

TextChangeEventArgs(SourceText, SourceText, IEnumerable<TextChangeRange>)

Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs
Source:
TextChangeEventArgs.cs

Initializes an instance of TextChangeEventArgs.

public:
 TextChangeEventArgs(Microsoft::CodeAnalysis::Text::SourceText ^ oldText, Microsoft::CodeAnalysis::Text::SourceText ^ newText, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::Text::TextChangeRange> ^ changes);
public TextChangeEventArgs (Microsoft.CodeAnalysis.Text.SourceText oldText, Microsoft.CodeAnalysis.Text.SourceText newText, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.Text.TextChangeRange> changes);
new Microsoft.CodeAnalysis.Text.TextChangeEventArgs : Microsoft.CodeAnalysis.Text.SourceText * Microsoft.CodeAnalysis.Text.SourceText * seq<Microsoft.CodeAnalysis.Text.TextChangeRange> -> Microsoft.CodeAnalysis.Text.TextChangeEventArgs
Public Sub New (oldText As SourceText, newText As SourceText, changes As IEnumerable(Of TextChangeRange))

Parameters

oldText
SourceText

The text before the change.

newText
SourceText

The text after the change.

changes
IEnumerable<TextChangeRange>

A set of ranges for the change.

Applies to