ICompletionSourceProvider.TryCreateCompletionSource Method

Creates a completion provider for the given context.

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

ICompletionSource TryCreateCompletionSource(
	ITextBuffer textBuffer
)

Parameters

textBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer

The text buffer over which to create a provider.

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.ICompletionSource
A valid ICompletionSource instance, or null if none could be created.

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