Partilhar via


IAsyncQuickInfoSourceProvider.TryCreateQuickInfoSource(ITextBuffer) Method

Definition

Creates an IAsyncQuickInfoSource for the specified ITextBuffer.

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

Parameters

textBuffer
ITextBuffer

The ITextBuffer for which this source produces items.

Returns

An instance of IAsyncQuickInfoSource for textBuffer or null if no source could be created.

Applies to