Share via


IAsyncQuickInfoSession.GetTriggerPoint Method

Definition

Overloads

GetTriggerPoint(ITextBuffer)

Gets the point at which the Quick Info tip was triggered in the ITextView.

GetTriggerPoint(ITextSnapshot)

Gets the point at which the Quick Info tip was triggered in the ITextView.

GetTriggerPoint(ITextBuffer)

Gets the point at which the Quick Info tip was triggered in the ITextView.

public:
 Microsoft::VisualStudio::Text::ITrackingPoint ^ GetTriggerPoint(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
public Microsoft.VisualStudio.Text.ITrackingPoint GetTriggerPoint (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member GetTriggerPoint : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Text.ITrackingPoint
Public Function GetTriggerPoint (textBuffer As ITextBuffer) As ITrackingPoint

Parameters

textBuffer
ITextBuffer

The ITextBuffer relative to which to obtain the point.

Returns

A ITrackingPoint indicating the point over which Quick Info was invoked.

Remarks

Returned ITrackingPoint is on the buffer requested by the caller.

Applies to

GetTriggerPoint(ITextSnapshot)

Gets the point at which the Quick Info tip was triggered in the ITextView.

public:
 Nullable<Microsoft::VisualStudio::Text::SnapshotPoint> GetTriggerPoint(Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshot);
public Microsoft.VisualStudio.Text.SnapshotPoint? GetTriggerPoint (Microsoft.VisualStudio.Text.ITextSnapshot snapshot);
abstract member GetTriggerPoint : Microsoft.VisualStudio.Text.ITextSnapshot -> Nullable<Microsoft.VisualStudio.Text.SnapshotPoint>
Public Function GetTriggerPoint (snapshot As ITextSnapshot) As Nullable(Of SnapshotPoint)

Parameters

snapshot
ITextSnapshot

The ITextSnapshot relative to which to obtain the point.

Returns

The point over which Quick Info was invoked or null if it does not exist in snapshot.

Remarks

Returned point is on the buffer requested by the caller.

Applies to