Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of TextContentChangedEventArgs.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
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
)
Parameters
beforeSnapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshotThe most recent ITextSnapshot before the change occurred.
afterSnapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshotThe ITextSnapshot immediately after the change occurred.
options
Type: Microsoft.VisualStudio.Text.EditOptionsEdit options that were applied to this change.
editTag
Type: System.ObjectAn arbitrary object associated with this change.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | beforeSnapshot, afterSnapshot, or options is nulla null reference (Nothing in Visual Basic). |
.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.