Partager via


ITrackingSpan.GetEndPoint, méthode

Mappe la fin de l'étendue de suivi à l'instantané spécifié de sa mémoire tampon de texte.

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

Syntaxe

'Déclaration
Function GetEndPoint ( _
    snapshot As ITextSnapshot _
) As SnapshotPoint
SnapshotPoint GetEndPoint(
    ITextSnapshot snapshot
)
SnapshotPoint GetEndPoint(
    ITextSnapshot^ snapshot
)
abstract GetEndPoint : 
        snapshot:ITextSnapshot -> SnapshotPoint
function GetEndPoint(
    snapshot : ITextSnapshot
) : SnapshotPoint

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.Text.SnapshotPoint
SnapshotPoint de l'instantané spécifié.

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'TextBuffer.

Sécurité .NET Framework

Voir aussi

Référence

ITrackingSpan Interface

Microsoft.VisualStudio.Text, espace de noms