共用方式為


ICompletionDefaults Interface

Definition

Provides completions for a given content type.

public interface ICompletionDefaults : Microsoft.VisualStudio.Language.Intellisense.ICompletionSession, Microsoft.VisualStudio.Utilities.IPropertyOwner
type ICompletionDefaults = interface
    interface ICompletionSession
    interface IIntellisenseSession
    interface IPropertyOwner
Public Interface ICompletionDefaults
Implements ICompletionSession, IPropertyOwner
Implements

Properties

CompletionSets

Gets the collection of CompletionSet objects.

(Inherited from ICompletionSession)
IsDismissed

Determines whether the session is dismissed.

(Inherited from IIntellisenseSession)
IsStarted

Determines whether the completion session has been started.

(Inherited from ICompletionSession)
Presenter

Gets the IIntellisensePresenter that is used to render IntelliSense for this session.

(Inherited from IIntellisenseSession)
Properties

The collection of properties controlled by the property owner.

(Inherited from IPropertyOwner)
SelectedCompletionSet

Gets or sets the selected CompletionSet.

(Inherited from ICompletionSession)
SuggestedDefaults

Gets possible values for a default selection for an ICompletionSession.

TextView

Gets the ITextView inside of which this IntelliSense session was triggered.

(Inherited from IIntellisenseSession)

Methods

Collapse()

Collapses the session to an unobtrusive state in which it doesn't get in the way of the user. If the session has no such state, the session will be dismissed.

(Inherited from IIntellisenseSession)
Commit()

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

(Inherited from ICompletionSession)
Dismiss()

Dismisses the session, causing the presenter to be destroyed and the session to be removed from the session stack.

(Inherited from IIntellisenseSession)
Filter()

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

(Inherited from ICompletionSession)
GetTriggerPoint(ITextBuffer)

Gets the ITrackingPoint at which this IntelliSense session was triggered in terms of the specified ITextBuffer.

(Inherited from IIntellisenseSession)
GetTriggerPoint(ITextSnapshot)

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

(Inherited from IIntellisenseSession)
Match()

Determines the best matching item in the session and sets the selection to this item.

(Inherited from IIntellisenseSession)
Recalculate()

Recalculates the underlying IntelliSense items pertaining to this session, using the same trigger point.

(Inherited from IIntellisenseSession)
Start()

Starts the session.

(Inherited from IIntellisenseSession)

Events

Committed

Occurs after a completion session is committed.

(Inherited from ICompletionSession)
Dismissed

Occurs when the session is dismissed.

(Inherited from IIntellisenseSession)
PresenterChanged

Occurs when the IntelliSense presenter for this session changes.

(Inherited from IIntellisenseSession)
Recalculated

Occurs when the session is recalculated.

(Inherited from IIntellisenseSession)
SelectedCompletionSetChanged

Occurs when the SelectedCompletionSet property changes.

(Inherited from ICompletionSession)

Applies to