ICompletionSourceProvider::TryCreateCompletionSource Method (ITextBuffer^)

 

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.

Return to top
Show: