Compartilhar via


Construtor TextContentChangedEventArgs

Inicializa uma nova instância de TextContentChangedEventArgs.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (em Microsoft.VisualStudio.Text.Data.dll)

Sintaxe

'Declaração
Public Sub New ( _
    beforeSnapshot As ITextSnapshot, _
    afterSnapshot As ITextSnapshot, _
    options As EditOptions, _
    editTag As Object _
)
public TextContentChangedEventArgs(
    ITextSnapshot beforeSnapshot,
    ITextSnapshot afterSnapshot,
    EditOptions options,
    Object editTag
)
public:
TextContentChangedEventArgs(
    ITextSnapshot^ beforeSnapshot, 
    ITextSnapshot^ afterSnapshot, 
    EditOptions options, 
    Object^ editTag
)
new : 
        beforeSnapshot:ITextSnapshot * 
        afterSnapshot:ITextSnapshot * 
        options:EditOptions * 
        editTag:Object -> TextContentChangedEventArgs
public function TextContentChangedEventArgs(
    beforeSnapshot : ITextSnapshot, 
    afterSnapshot : ITextSnapshot, 
    options : EditOptions, 
    editTag : Object
)

Parâmetros

  • editTag
    Tipo: Object

    Um objeto arbitrário associado a essa alteração.

Exceções

Exceção Condição
ArgumentNullException

beforeSnapshot, afterSnapshot, or options is nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

TextContentChangedEventArgs Classe

Namespace Microsoft.VisualStudio.Text