IQuickInfoSourceProvider.TryCreateQuickInfoSource(ITextBuffer) Method

Definition

Creates a Quick Info provider for the specified context.

public:
 Microsoft::VisualStudio::Language::Intellisense::IQuickInfoSource ^ TryCreateQuickInfoSource(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
public Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSource TryCreateQuickInfoSource (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member TryCreateQuickInfoSource : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSource
Public Function TryCreateQuickInfoSource (textBuffer As ITextBuffer) As IQuickInfoSource

Parameters

textBuffer
ITextBuffer

The text buffer for which to create a provider.

Returns

A valid IQuickInfoSource instance, or null if none could be created.

Applies to