IAsyncQuickInfoSourceProvider.TryCreateQuickInfoSource(ITextBuffer) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为指定的 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 textBuffer ; 如果无法创建源,则为 null。