Condividi tramite


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

'Declaration
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

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

See Also

Reference

IIntellisenseSession Interface

GetTriggerPoint Overload

Microsoft.VisualStudio.Language.Intellisense Namespace