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
'宣告
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.ITextSnapshot
The 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.