다음을 통해 공유


ISnapshotDifference.MapToSnapshot Method (SnapshotPoint, ITextSnapshot, DifferenceMappingMode)

Map the specified SnapshotPoint to the specified ITextSnapshot.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Function MapToSnapshot ( _
    point As SnapshotPoint, _
    target As ITextSnapshot, _
    mode As DifferenceMappingMode _
) As SnapshotPoint
SnapshotPoint MapToSnapshot(
    SnapshotPoint point,
    ITextSnapshot target,
    DifferenceMappingMode mode
)
SnapshotPoint MapToSnapshot(
    SnapshotPoint point, 
    ITextSnapshot^ target, 
    DifferenceMappingMode mode
)
abstract MapToSnapshot : 
        point:SnapshotPoint * 
        target:ITextSnapshot * 
        mode:DifferenceMappingMode -> SnapshotPoint
function MapToSnapshot(
    point : SnapshotPoint, 
    target : ITextSnapshot, 
    mode : DifferenceMappingMode
) : SnapshotPoint

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.SnapshotPoint
The snapshot point.

.NET Framework Security

See Also

Reference

ISnapshotDifference Interface

MapToSnapshot Overload

Microsoft.VisualStudio.Text.Differencing Namespace