PreContentChangedEventArgs Constructor
Initializes a new instance of PreContentChangedEventArgs.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Déclaration
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
)
Parameters
- beforeSnapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshot
A text snapshot before the change.
- changes
Type: Microsoft.VisualStudio.Text.INormalizedTextChangeCollection
The collection of changes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.