Construtor PreContentChangedEventArgs
Inicializa uma nova instância de PreContentChangedEventArgs.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (em Microsoft.VisualStudio.Text.Data.dll)
Sintaxe
'Declaração
Public Sub New ( _
beforeSnapshot As ITextSnapshot, _
changes As INormalizedTextChangeCollection _
)
public PreContentChangedEventArgs(
ITextSnapshot beforeSnapshot,
INormalizedTextChangeCollection changes
)
public:
PreContentChangedEventArgs(
ITextSnapshot^ beforeSnapshot,
INormalizedTextChangeCollection^ changes
)
new :
beforeSnapshot:ITextSnapshot *
changes:INormalizedTextChangeCollection -> PreContentChangedEventArgs
public function PreContentChangedEventArgs(
beforeSnapshot : ITextSnapshot,
changes : INormalizedTextChangeCollection
)
Parâmetros
beforeSnapshot
Tipo: Microsoft.VisualStudio.Text.ITextSnapshotUm instantâneo de texto antes da alteração.
changes
Tipo: Microsoft.VisualStudio.Text.INormalizedTextChangeCollectionA coleção de alterações.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.