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.

Public methodTryCreateCompletionSourceCreates a completion provider for the given context.

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


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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft