Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Maps the tracking point to a particular snapshot of its ITextBuffer.
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
Parameters
- snapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshot
The snapshot to which to map the tracking point.
Return Value
Type: Microsoft.VisualStudio.Text.SnapshotPoint
The SnapshotPoint.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | snapshot is nulla null reference (Nothing in Visual Basic). |
| ArgumentException | snapshot is not a snapshot of ITextBuffer. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.