共用方式為


IQuickInfoSourceProvider Interface

Represents a factory of Quick Info sources.

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

Syntax

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

The IQuickInfoSourceProvider type exposes the following members.

Methods

  Name Description
Public method TryCreateQuickInfoSource Creates a Quick Info source for the specified context.

Top

Remarks

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

[Export(typeof(IQuickInfoSourceProvider))]

Examples

For an example of the use of this interface, see Walkthrough: Displaying QuickInfo Tooltips.

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace