IQuickInfoSourceProvider.TryCreateQuickInfoSource Method

Creates a Quick Info source for the specified context.

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

IQuickInfoSource TryCreateQuickInfoSource(
	ITextBuffer textBuffer
)

Parameters

textBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer

The text buffer for which to create a provider.

Return Value

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

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