IIntellisenseSession.GetTriggerPoint Method (ITextBuffer)
Gets the ITrackingPoint at which this IntelliSense session was triggered for the specified ITextBuffer.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Déclaration
Function GetTriggerPoint ( _
textBuffer As ITextBuffer _
) As ITrackingPoint
ITrackingPoint GetTriggerPoint(
ITextBuffer textBuffer
)
ITrackingPoint^ GetTriggerPoint(
ITextBuffer^ textBuffer
)
abstract GetTriggerPoint :
textBuffer:ITextBuffer -> ITrackingPoint
function GetTriggerPoint(
textBuffer : ITextBuffer
) : ITrackingPoint
Parameters
- textBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
The ITextBuffer for which a trigger point should be returned.
Return Value
Type: Microsoft.VisualStudio.Text.ITrackingPoint
The ITrackingPoint.
Remarks
Callers should take care to pass only ITextBuffer objects that are in 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.