ICompletionSession Interface

 

Represents a statement completion session, which is a type of IntelliSense session.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Public Interface ICompletionSession
	Inherits IIntellisenseSession, IPropertyOwner

NameDescription
System_CAPS_pubpropertyCompletionSets

Gets the collection of CompletionSet objects.

System_CAPS_pubpropertyIsDismissed

Determines whether the session is dismissed.(Inherited from IIntellisenseSession.)

System_CAPS_pubpropertyIsStarted

Determines whether the completion session has been started.

System_CAPS_pubpropertyPresenter

Gets the IIntellisensePresenter that is used to render IntelliSense for this session.(Inherited from IIntellisenseSession.)

System_CAPS_pubpropertyProperties

(Inherited from IPropertyOwner.)

System_CAPS_pubpropertySelectedCompletionSet

Gets or sets the selected CompletionSet.

System_CAPS_pubpropertyTextView

Gets the ITextView in which this IntelliSense session was triggered.(Inherited from IIntellisenseSession.)

NameDescription
System_CAPS_pubmethodCollapse()

Reduces the session to a minimized state. If the session has no such state, the session will be dismissed.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodCommit()

Commits a completion session. The selected completion's insertion text is inserted into the buffer in the place of its applicability span.

System_CAPS_pubmethodDismiss()

Dismisses the session, causing the presenter to be destroyed and the session to be removed from the session stack.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodFilter()

Filters the session's completion items, based on the current state of the text buffer.

System_CAPS_pubmethodGetTriggerPoint(ITextBuffer)

Gets the ITrackingPoint at which this IntelliSense session was triggered for the specified ITextBuffer.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodGetTriggerPoint(ITextSnapshot)

Gets the SnapshotPoint at which this IntelliSense session was triggered in terms of the specified ITextSnapshot.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodMatch()

Determines the best matching item in the session and sets the selection to this item.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodRecalculate()

Recalculates the underlying IntelliSense items pertaining to this session, using the same trigger point.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodStart()

Starts the session.(Inherited from IIntellisenseSession.)

NameDescription
System_CAPS_pubeventCommitted

Raised after a completion session is committed.

System_CAPS_pubeventDismissed

Occurs when the session is dismissed.(Inherited from IIntellisenseSession.)

System_CAPS_pubeventPresenterChanged

Occurs when the IntelliSense presenter for this session changes.(Inherited from IIntellisenseSession.)

System_CAPS_pubeventRecalculated

Occurs when the session is recalculated.(Inherited from IIntellisenseSession.)

System_CAPS_pubeventSelectedCompletionSetChanged

Raised when the SelectedCompletionSet property changes.

For an example of this interface, see Walkthrough: Displaying Statement Completion.

Return to top
Show: