IIntellisenseSession.GetTriggerPoint Method

Definition

Overloads

GetTriggerPoint(ITextBuffer)

Gets the ITrackingPoint at which this IntelliSense session was triggered for the specified ITextBuffer.

GetTriggerPoint(ITextSnapshot)

Gets the SnapshotPoint at which this IntelliSense session was triggered in terms of the specified ITextSnapshot.

GetTriggerPoint(ITextBuffer)

Gets the ITrackingPoint at which this IntelliSense session was triggered for the specified ITextBuffer.

public Microsoft.VisualStudio.Text.ITrackingPoint GetTriggerPoint (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
Parameters
textBuffer
ITextBuffer

The ITextBuffer for which a trigger point should be returned.

Returns

Remarks

Callers should take care to pass only ITextBuffer objects that are in the IBufferGraph of the text view.

GetTriggerPoint(ITextSnapshot)

Gets the SnapshotPoint at which this IntelliSense session was triggered in terms of the specified ITextSnapshot.

public Nullable<Microsoft.VisualStudio.Text.SnapshotPoint> GetTriggerPoint (Microsoft.VisualStudio.Text.ITextSnapshot textSnapshot);
Parameters
textSnapshot
ITextSnapshot

The ITextSnapshot.

Returns

Remarks

Callers should take care to pass only ITextSnapshot objects that the IBufferGraph of the text view.

Applies to