Freigeben über


VirtualSnapshotPoint.TranslateTo-Methode (ITextSnapshot)

Übersetzt diesen Punkt in der angegebenen Momentaufnahme.

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

Syntax

'Declaration
Public Function TranslateTo ( _
    snapshot As ITextSnapshot _
) As VirtualSnapshotPoint
public VirtualSnapshotPoint TranslateTo(
    ITextSnapshot snapshot
)
public:
VirtualSnapshotPoint TranslateTo(
    ITextSnapshot^ snapshot
)
member TranslateTo : 
        snapshot:ITextSnapshot -> VirtualSnapshotPoint
public function TranslateTo(
    snapshot : ITextSnapshot
) : VirtualSnapshotPoint

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.Text.VirtualSnapshotPoint
Der entsprechende VirtualSnapshotPoint in snapshot.

Ausnahmen

Ausnahme Bedingung
ArgumentException

snapshot ist für eine frühere Momentaufnahme.

.NET Framework-Sicherheit

Siehe auch

Referenz

VirtualSnapshotPoint Struktur

TranslateTo-Überladung

Microsoft.VisualStudio.Text-Namespace