IDifferenceBuffer.AddSnapshotLineTransform Method
Add a custom SnapshotLineTransform, which can modify lines of text before they are compared.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Sub AddSnapshotLineTransform ( _
transform As SnapshotLineTransform _
)
void AddSnapshotLineTransform(
SnapshotLineTransform transform
)
void AddSnapshotLineTransform(
SnapshotLineTransform^ transform
)
abstract AddSnapshotLineTransform :
transform:SnapshotLineTransform -> unit
function AddSnapshotLineTransform(
transform : SnapshotLineTransform
)
Parameters
transform
Type: Microsoft.VisualStudio.Text.Differencing.SnapshotLineTransformThe transform to add.
.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.