Freigeben über


ITrackingPoint.GetPoint-Methode

Ordnet den Nachverfolgungspunkt einer bestimmten Momentaufnahme von seinem ITextBuffer zu.

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

Syntax

'Declaration
Function GetPoint ( _
    snapshot As ITextSnapshot _
) As SnapshotPoint
SnapshotPoint GetPoint(
    ITextSnapshot snapshot
)
SnapshotPoint GetPoint(
    ITextSnapshot^ snapshot
)
abstract GetPoint : 
        snapshot:ITextSnapshot -> SnapshotPoint
function GetPoint(
    snapshot : ITextSnapshot
) : SnapshotPoint

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.Text.SnapshotPoint
Der SnapshotPoint.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

snapshot ist nullein Nullverweis (Nothing in Visual Basic).

ArgumentException

snapshot ist keine Momentaufnahme ITextBuffer.

.NET Framework-Sicherheit

Siehe auch

Referenz

ITrackingPoint Schnittstelle

Microsoft.VisualStudio.Text-Namespace