IAsyncQuickInfoSourceProvider.TryCreateQuickInfoSource(ITextBuffer) 方法

定义

为指定的 ITextBuffer 创建 IAsyncQuickInfoSource

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

参数

textBuffer
ITextBuffer

ITextBuffer此源为其生成项的。

返回

IAsyncQuickInfoSource

的一个实例 IAsyncQuickInfoSource textBuffer ; 如果无法创建源,则为 null。

适用于