Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the SnapshotPoint at which this IntelliSense session was triggered in terms of the specified ITextSnapshot.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Declaration
Function GetTriggerPoint ( _
textSnapshot As ITextSnapshot _
) As Nullable(Of SnapshotPoint)
Nullable<SnapshotPoint> GetTriggerPoint(
ITextSnapshot textSnapshot
)
Nullable<SnapshotPoint> GetTriggerPoint(
ITextSnapshot^ textSnapshot
)
abstract GetTriggerPoint :
textSnapshot:ITextSnapshot -> Nullable<SnapshotPoint>
function GetTriggerPoint(
textSnapshot : ITextSnapshot
) : Nullable<SnapshotPoint>
Parameters
textSnapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshotThe ITextSnapshot.
Return Value
Type: System.Nullable<SnapshotPoint>
A nullable SnapshotPoint.
Remarks
Callers should take care to pass only ITextSnapshot objects that the IBufferGraph of the text view.
.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.