ISnapshotDifference.MapToSnapshot Method (Difference, ITextSnapshot)
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaração
Function MapToSnapshot ( _
difference As Difference, _
target As ITextSnapshot _
) As SnapshotSpan
SnapshotSpan MapToSnapshot(
Difference difference,
ITextSnapshot target
)
SnapshotSpan MapToSnapshot(
Difference^ difference,
ITextSnapshot^ target
)
abstract MapToSnapshot :
difference:Difference *
target:ITextSnapshot -> SnapshotSpan
function MapToSnapshot(
difference : Difference,
target : ITextSnapshot
) : SnapshotSpan
Parameters
- difference
Type: Microsoft.VisualStudio.Text.Differencing.Difference
- target
Type: Microsoft.VisualStudio.Text.ITextSnapshot
Return Value
Type: Microsoft.VisualStudio.Text.SnapshotSpan
.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.