共用方式為


IIntellisensePresenterProvider Interface

Creates IntelliSense presenters over a given IntelliSense session.

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

Syntax

'宣告
Public Interface IIntellisensePresenterProvider
public interface IIntellisensePresenterProvider
public interface class IIntellisensePresenterProvider
type IIntellisensePresenterProvider =  interface end
public interface IIntellisensePresenterProvider

The IIntellisensePresenterProvider type exposes the following members.

Methods

  Name Description
Public method TryCreateIntellisensePresenter Attempts to create an IntelliSense presenter for a given IntelliSense session.

Top

Remarks

This is a MEF component part, and should be exported with the following attribute:

[Export(typeof(IIntellisensePresenterProvider))] 

Component exporters must add the OrderAttribute to define the order of the presenter in the presenter chain.

For example, to define an order after the default completion presenter provider, you specify:

[Order(After="Default Completion Presenter")]

To define an order before the default Signature Help (Parameter Info) presenter provider, you specify:

[Order(Before="Default Signature Help Presenter")]

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace