为指定的上下文创建的一个快速信息的源。
命名空间: Microsoft.VisualStudio.Language.Intellisense
程序集: Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)
语法
声明
Function TryCreateQuickInfoSource ( _
textBuffer As ITextBuffer _
) As IQuickInfoSource
IQuickInfoSource TryCreateQuickInfoSource(
ITextBuffer textBuffer
)
IQuickInfoSource^ TryCreateQuickInfoSource(
ITextBuffer^ textBuffer
)
abstract TryCreateQuickInfoSource :
textBuffer:ITextBuffer -> IQuickInfoSource
function TryCreateQuickInfoSource(
textBuffer : ITextBuffer
) : IQuickInfoSource
参数
textBuffer
类型:Microsoft.VisualStudio.Text.ITextBuffer要为其创建提供程序的文本缓冲区。
返回值
类型:Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSource
有效的 IQuickInfoSource或 nullnull 引用(在 Visual Basic 中为 Nothing) 的行,则无法创建。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。