Export (0) Print
Expand All

ICompletionSourceProvider Interface

Provides completion sources.

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

public interface ICompletionSourceProvider

The ICompletionSourceProvider type exposes the following members.

  NameDescription
Public methodTryCreateCompletionSourceCreates a completion provider for the given context.
Top

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

[Export(typeof(ICompletionSourceProvider))] 

You may provide the ContentTypeAttribute and OrderAttribute to specify the type of content to which it applies. For more information about using these attributes, see Editor Extension Points.

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

Show:
© 2014 Microsoft