SnapshotDifferenceChangeEventArgs Constructor
Initializes a new instance of SnapshotDifferenceChangeEventArgs from the given before and after ISnapshotDifference objects.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Sub New ( _
before As ISnapshotDifference, _
after As ISnapshotDifference _
)
public SnapshotDifferenceChangeEventArgs(
ISnapshotDifference before,
ISnapshotDifference after
)
public:
SnapshotDifferenceChangeEventArgs(
ISnapshotDifference^ before,
ISnapshotDifference^ after
)
new :
before:ISnapshotDifference *
after:ISnapshotDifference -> SnapshotDifferenceChangeEventArgs
public function SnapshotDifferenceChangeEventArgs(
before : ISnapshotDifference,
after : ISnapshotDifference
)
Parameters
before
Type: Microsoft.VisualStudio.Text.Differencing.ISnapshotDifferenceThe ISnapshotDifference before the change (may be nulla null reference (Nothing in Visual Basic)).
after
Type: Microsoft.VisualStudio.Text.Differencing.ISnapshotDifferenceThe ISnapshotDifference after the change.
.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.