Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
point
Type: Microsoft.VisualStudio.Text.SnapshotPointThe point to map.
target
Type: Microsoft.VisualStudio.Text.ITextSnapshotThe target snapshot.
mode
Type: Microsoft.VisualStudio.Text.Differencing.DifferenceMappingModeThe mode used when mapping between the left and right snapshots (or vice- versa) when point lies inside a difference.
Return Value
Type: Microsoft.VisualStudio.Text.SnapshotPoint
The snapshot point.
.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.