다음을 통해 공유


IIntellisenseSession.GetTriggerPoint Method (ITextSnapshot)

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

Return Value

Type: 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

See Also

Reference

IIntellisenseSession Interface

GetTriggerPoint Overload

Microsoft.VisualStudio.Language.Intellisense Namespace