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
snapshot
Type : Microsoft.VisualStudio.Text.ITextSnapshotInstantané auquel mapper le point de fin.
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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.