Share via


ITrackingPoint.GetPoint, méthode

Mappe le point de suivi à un instantané particulier de sa ITextBuffer.

Espace de noms :  Microsoft.VisualStudio.Text
Assembly :  Microsoft.VisualStudio.Text.Data (dans Microsoft.VisualStudio.Text.Data.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.Text.SnapshotPoint
SnapshotPoint .

Exceptions

Exception Condition
ArgumentNullException

snapshot a la valeur nullune référence null (Nothing en Visual Basic).

ArgumentException

snapshot n'est pas un instantané d'ITextBuffer.

Sécurité .NET Framework

Voir aussi

Référence

ITrackingPoint Interface

Microsoft.VisualStudio.Text, espace de noms