IQuickInfoSourceProvider.TryCreateQuickInfoSource Method
Creates a Quick Info source for the specified context.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Declaração
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
Parameters
- textBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
The text buffer for which to create a provider.
Return Value
Type: Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSource
A valid IQuickInfoSource, or nulla null reference (Nothing in Visual Basic) if none could be created.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.